Optional props: Partial<LinearGradientFillStyleProperties>Readonly angleGradient angle in degrees
Readonly fillReadonly stopsGradient Color stops
Readonly typeSet the angle of the gradient line in degrees or radians.
All style object setter methods return a new object rather than modifying the current one.
Angle in degrees or radians. 0 degrees/radians is up. Clockwise rotation.
Optional isRadians: booleanPass true if the angle provided is in radians.
Set color stops for the gradient.
All style object setter methods return a new object rather than modifying the current one.
Color Stops
Linear Gradient fill style.
Instances of LinearGradientFill are immutable, meaning that its setters don't modify the object, but instead return a completely new modified object.