ErasedOffset class
Represents an erased area with a position (offset) and a circular radius.
This model is typically used for storing, serializing, and comparing erase operations in a drawing or editing context.
Constructors
- ErasedOffset.new({required Offset offset, required double radius})
-
Creates an ErasedOffset with the given
offset
andradius
.const -
ErasedOffset.fromMap(Map<
String, dynamic> map) -
Creates an ErasedOffset from a
map
.factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
{int maxDecimalPlaces = kMaxSafeDecimalPlaces, bool enableMinify = false}) → Map< String, dynamic> - Converts this ErasedOffset into a Map representation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override