OverlayLayerData class

Overlay Layer Data

Inheritance

Constructors

OverlayLayerData({Color color = Colors.white, double opacityValue = 0.5, OverlayShape shape = OverlayShape.rectangle, double size = 100.0, OverlayType overlayType = OverlayType.shape, ImageItem? overlayImage, Offset offset = const Offset(64, 64), double rotation = 0, double scale = 1})

Properties

color Color
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
offset Offset
getter/setter pairinherited
opacity double
getter/setter pairinherited
opacityValue double
getter/setter pair
overlayImage ImageItem?
getter/setter pair
overlayType OverlayType
getter/setter pair
rotation double
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
getter/setter pairinherited
shape OverlayShape
getter/setter pair
shapeName String
Get shape name for display
no setter
size double
getter/setter pair

Methods

copyFrom(Map json) → void
inherited
nextShape() → void
Cycle to the next shape (works for both shape and image overlays)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(Map json) OverlayLayerData
override