add
add(float position, Color color) method
Creates the new gradient stop and adds it to the end of collection.
Parameters
Name | Type | Description |
---|---|---|
position | float | Position of the new gradient stop. |
color | Color | Color of the new radient stop. |
Creates the new gradient stop and adds it to the end of collection.
Name | Type | Description |
---|---|---|
position | float | Position of the new gradient stop. |
color | Color | Color of the new radient stop. |