Skip to content

GradientOptions

GradientOptions<T>: object

Type Parameters

T extends GradientType

Type declaration

colorStops?

optional colorStops: ColorStop[]

coords?

optional coords: Partial<GradientCoords<T>>

gradientTransform?

optional gradientTransform: TMat2D

Todo

rename?

gradientUnits?

optional gradientUnits: GradientUnits

id?

optional id: string

offsetX?

optional offsetX: number

SVG import compatibility

offsetY?

optional offsetY: number

SVG import compatibility

type?

optional type: T

Defined in

src/gradient/typedefs.ts:65