Optional
props: Partial<LinearGradientFillStyleProperties>Readonly
angleGradient angle in degrees
Readonly
stopsGradient Color stops
Readonly
typeSet the angle of the gradient line in degrees or radians.
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.
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.