RadialGradient class

A 2D radial gradient.

Inheritance

Constructors

RadialGradient({Alignment center = Alignment.center, double radius = 0.5, required List<PdfColor> colors, List<double>? stops, TileMode tileMode = TileMode.clamp, Alignment? focal, double focalRadius = 0.0})
Creates a radial gradient.
const

Properties

center Alignment
The center of the gradient
final
colors List<PdfColor>
finalinherited
focal Alignment?
The focal point of the gradient.
final
focalRadius double
The radius of the focal point of the gradient.
final
hashCode int
The hash code for this object.
no setterinherited
radius double
The radius of the gradient
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stops List<double>?
A list of values from 0.0 to 1.0 that denote fractions along the gradient.
finalinherited
tileMode TileMode
How this gradient should tile the plane beyond the outer ring at radius pixels from the center.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Context context, PdfRect box) → void
override
toString() String
A string representation of this object.
inherited

Operators

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