Interface GradientFillValues

interface GradientFillValues {
    angle: number;
    fillTo: Rectangle;
    fillType: Gradient;
    gradientType: GradientType;
    stops: GradientStop[];
}

Hierarchy (view full)

Properties

angle: number

The angle of the gradient in degrees if gradient type is linear

fillTo: Rectangle

Used for path and circular gradients

fillType: Gradient

If null then the fill type will inherit.

gradientType: GradientType

The type of gradient

Default Value

GradientType.Linear
stops: GradientStop[]

If null then the fill type will inherit. This must be at least two stops