[]
        
(Showing Draft Content)

LinearGradientBrushProperties

Type Alias: LinearGradientBrushProperties

type LinearGradientBrushProperties = object;

Provides settings for creating a linear gradient brush.

Properties

endColor

endColor: Color;

The ending gradient color.


endPoint?

optional endPoint?: Point;

The end point of the current linear gradient brush. (0, 0) is the top-left corner, (1, 1) is the bottom-right corner. The default is (1, 0.5).


gradientStops?

optional gradientStops?: GradientStop[] | null;

The array of gradient stops.


startColor

startColor: Color;

The starting gradient color.


startPoint?

optional startPoint?: Point;

The start point of the current linear gradient brush. (0, 0) is the top-left corner, (1, 1) is the bottom-right corner. The default is (0, 0.5).