TextPaintPlan class final

Paints a text's fill, stroke and effects in order: drop shadows, the fill, inner shadows, then the stroke over them; then all of it blurred by its layer blurs.

Constructors

TextPaintPlan({required Size box, required Offset at, required Rect ink, required List<Fill> fill, required Stroke? stroke, required List<TextEffect> effects})
Plans the painting of letters drawn at at in a box of box, whose ink lies within ink.

Properties

at → Offset
Where the letters are drawn.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, TextGlyphs glyphs, Offset offset, {double opacity = 1}) → void
Paints the text's layers in a box whose top-left corner is at offset, faded as one by opacity.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

maskPaint → (Object, Paint)
The letters' shape in black, and what names it.
final

Static Methods

fillPaint(Fill layer, Size box) → (Object, Paint)
The paint of the fill layer in a box of box, and what names it.