DrawTextOp class

Inheritance

Constructors

DrawTextOp({required String text, required String family, required int weight, required double size, required Vec2 originBaselineCenter, double letterSpacing = 0.0, ResolvedLinearGradient? gradient, Color32? solid, List<CanvasSourceUnderlay> underlays = const <CanvasSourceUnderlay>[]})

Properties

family → String
final
gradient → ResolvedLinearGradient?
Foreground only.
final
hasForeground → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
letterSpacing → double
final
originBaselineCenter → Vec2
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → double
final
solid → Color32?
final
text → String
final
underlays → List<CanvasSourceUnderlay>
final
weight → int
final

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