GradientLinearFill
type GradientLinearFill = { angle?: DmlAngle; colorStops: GradientColorStop[]; flip?: FlipAxis; rotWithShape?: boolean; scaled?: boolean; type: "linearGradient";};Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
angle? |
DmlAngle |
Angle of the gradient direction in 60,000ths of a degree. |
colorStops |
GradientColorStop[] |
Array of color stops defining the gradient color transitions. |
flip? |
FlipAxis |
Direction(s) in which to flip the gradient pattern. |
rotWithShape? |
boolean |
Whether the gradient should rotate when the shape is rotated. |
scaled? |
boolean |
Whether the gradient should scale with the shape dimensions. |
type |
"linearGradient" |
Type discriminator for linear gradient fills. |