insert
insert(int index, float position, Color color) function
Creates the new gradient stop and inserts it at the specified index to the collection.
Parameters
Name | Type | Description |
---|---|---|
index | int | Index in the collection where new gradient stop will be inserted. |
position | float | Position of the new gradient stop. |
color | Color | Color of the new radient stop. |