Gradient class abstract
A 2D gradient.
- Implementers
- Annotations
-
- @immutable
Constructors
-
Gradient.new({required List<
PdfColor> colors, List<double> ? stops}) -
Initialize the gradient's colors and stops.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
Context context, PdfRect box) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited