[]
DsPdfJS API / LinearGradientBrushProperties
LinearGradientBrushProperties =
object
Provides settings for creating a linear gradient brush.
endColor:
Color
The ending gradient color.
optionalendPoint: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).
optionalgradientStops:GradientStop[] |null
The array of gradient stops.
startColor:
Color
The starting gradient color.
optionalstartPoint: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).