FillLayer class

Inheritance

Constructors

FillLayer({ScenePaint? paint, double blur = 0, double dx = 0, double dy = 0, double opacity = 1, SceneLayerBox box = SceneLayerBox.text, SceneBlendMode blend = SceneBlendMode.normal})
const

Properties

blend → SceneBlendMode
How this pass lands on the passes beneath it and on what is behind the text.
finalinherited
blur → double
The glyph outline blurred, through a mask filter on this pass's own paint. Not the pass composited and blurred: that is a layer save per pass, and a different performance story.
finalinherited
box → SceneLayerBox
What paint is measured against: the whole text, or each line.
finalinherited
dx → double
finalinherited
dy → double
finalinherited
hashCode → int
The hash code for this object.
no setteroverride
opacity → double
finalinherited
paint → ScenePaint?
Null paints the text's own colour — which is what lets one stack serve several colours, and what a run's own colour reaches through.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({double? blur, double? dx, double? dy, double? opacity, SceneLayerBox? box, SceneBlendMode? blend}) → FillLayer
This pass with the fields given changed and the rest kept. Every edit and every rescale goes through here, so a field added to a pass is carried by all of them rather than dropped by whichever call site respelled the constructor and forgot it.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override
toWire() → Map<String, Object?>
override
withPaint(ScenePaint? paint) → FillLayer
This pass painted with paint instead — null included, which is "the text's own colour" and the one value copyWith cannot say, because there a null means "not given".
override

Operators

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