GradientOptions
GradientOptions<
T
> =object
Defined in: src/gradient/typedefs.ts:65
Type Parameters
Section titled “Type Parameters”T
extends GradientType
Properties
Section titled “Properties”colorStops?
Section titled “colorStops?”
optional
colorStops:ColorStop
[]
Defined in: src/gradient/typedefs.ts:68
coords?
Section titled “coords?”
optional
coords:Partial
<GradientCoords
<T
>>
Defined in: src/gradient/typedefs.ts:69
gradientTransform?
Section titled “gradientTransform?”
optional
gradientTransform:TMat2D
Defined in: src/gradient/typedefs.ts:73
rename?
gradientUnits?
Section titled “gradientUnits?”
optional
gradientUnits:GradientUnits
Defined in: src/gradient/typedefs.ts:67
optional
id:string
Defined in: src/gradient/typedefs.ts:74
offsetX?
Section titled “offsetX?”
optional
offsetX:number
Defined in: src/gradient/typedefs.ts:78
SVG import compatibility
offsetY?
Section titled “offsetY?”
optional
offsetY:number
Defined in: src/gradient/typedefs.ts:82
SVG import compatibility
optional
type:T
Defined in: src/gradient/typedefs.ts:66