ScenePaint class sealed
What a pass paints with: one colour, a gradient across the box, or one of the project's own fragment shaders.
Built for text layers, and shaped for fill to adopt the day a frame's
fill becomes a list of paints — a second notion of paint
is the thing to avoid, not a second user of this one. Linear, radial and
sweep share SceneGradient; the wire tags the kind, so a new one is
additive.
- Implementers
Properties
- 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
-
toString(
) → String -
A string representation of this object.
inherited
-
toWire(
) → Object
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromWire(
Object? raw) → ScenePaint? -
Total, like every
fromWirehere: an unreadable payload is null rather than a throw, and null means "the text's own colour".