Fill class sealed

One paint layer of a fill or a stroke; in a list, the first is topmost.

Implementers
Annotations

Constructors

Fill.linearGradient({required List<GradientStop> stops, GradientHandle begin, GradientHandle end, double opacity})
A LinearGradientFill through stops, from begin to end.
const
factory
Fill.radialGradient({required List<GradientStop> stops, GradientHandle center, GradientHandle end, GradientHandle width, double opacity})
A RadialGradientFill through stops, outward from center to the ellipse through end and width.
const
factory
Fill.solid(HexColor color)
A SolidFill of color.
const
factory

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

Operators

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