Properties:
Name | Type | Description |
---|---|---|
end |
PointData |
The end point of the gradient. This point defines where the gradient ends. It is represented as a PointData object containing x and y coordinates. The coordinates are in local space by default (0-1), but can be in global space if specified. |
start |
PointData |
The start point of the gradient. This point defines where the gradient begins. It is represented as a PointData object containing x and y coordinates. The coordinates are in local space by default (0-1), but can be in global space if specified. |
type |
"linear" |
The type of gradient. Must be 'linear' for linear gradients. |
Extends
Members
end PointData
The end point of the gradient. This point defines where the gradient ends. It is represented as a PointData object containing x and y coordinates. The coordinates are in local space by default (0-1), but can be in global space if specified.
start PointData
The start point of the gradient. This point defines where the gradient begins. It is represented as a PointData object containing x and y coordinates. The coordinates are in local space by default (0-1), but can be in global space if specified.
The type of gradient. Must be 'linear' for linear gradients.