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
atin a box ofbox, whose ink lies withinink.
Properties
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 byopacity. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited