TextLayerData class
The TextLayerData class provides properties for the text layer, including text and size
Constructors
- TextLayerData({required String text, double size = 64, Color color = Colors.white, Color background = Colors.transparent, int backgroundOpacity = 1, TextAlign align = TextAlign.left, Offset? offset, double? opacity, double? rotation, double? scale})
-
The TextLayerData constructor requires a
text
parameter and
Properties
- align ↔ TextAlign
-
The align property contains the alignment for the text layer.
getter/setter pair
- background ↔ Color
-
The color property contains the color for the text layer.
getter/setter pair
- backgroundOpacity ↔ int
-
The backgroundOpacity property contains the background opacity for the text layer.
getter/setter pair
- color ↔ Color
-
The color property contains the color for the text layer.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset ↔ Offset
-
The Layer class provides properties for layers in the image editor, such as
getter/setter pairinherited
- opacity ↔ double
-
The Layer class provides properties for layers in the image editor, such as
getter/setter pairinherited
- rotation ↔ double
-
The Layer class provides properties for layers in the image editor, such as
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale ↔ double
-
The Layer class provides properties for layers in the image editor, such as
getter/setter pairinherited
- size ↔ double
-
The size property contains the size for the text layer.
getter/setter pair
- text ↔ String
-
The text property contains the text for the text layer.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited