PdfGradient class
A gradient ready for a device: stops pre-sampled from the shading's function, with geometry in the space mapped by transform.
Constructors
Properties
- averageColor → PdfColor
-
no setter
-
colors
→ List<
PdfColor> -
final
-
coords
→ List<
double> -
Axial:
[x0, y0, x1, y1]. Radial:[x0, y0, r0, x1, y1, r1].final - extendEnd → bool
-
final
- extendStart → bool
-
PDF /Extend semantics: an extended end clamps to its terminal color,
an unextended end paints nothing beyond the gradient geometry.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRadial → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stops
→ List<
double> -
final
- transform → PdfMatrix
-
Maps gradient (pattern/shading) space to page space.
final
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