SvgLinearGradientColor class
An SVG linear gradient. See https://www.w3.org/TR/2008/REC-SVGTiny12-20081222/painting.html#Gradients
- Inheritance
-
- Object
- SvgColor
- SvgGradientColor
- SvgLinearGradientColor
Constructors
- SvgLinearGradientColor.new({required SvgCoordinate? x1, required SvgCoordinate? y1, required SvgCoordinate? x2, required SvgCoordinate? y2, required bool? objectBoundingBox, required Affine? transform, required SIGradientSpreadMethod? spreadMethod})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- objectBoundingBox ↔ bool?
-
getter/setter pairinherited
- parent ↔ SvgGradientColor?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spreadMethod ↔ SIGradientSpreadMethod?
-
getter/setter pairinherited
-
stops
↔ List<
SvgGradientStop> ? -
getter/setter pairinherited
- transform ↔ Affine?
-
getter/setter pairinherited
- x1 ↔ SvgCoordinate?
-
getter/setter pair
- x2 ↔ SvgCoordinate?
-
getter/setter pair
- y1 ↔ SvgCoordinate?
-
getter/setter pair
- y2 ↔ SvgCoordinate?
-
getter/setter pair
Methods
-
addStop(
SvgGradientStop s) → void -
inherited
-
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