Remove [ColorNodes]
The Remove property deletes a color node from the ColorNodes collection.
Syntax
object.Remove( Index )
Parameter |
Type |
Required/ Optional |
Default |
Description |
Index |
Integer |
Required |
This provides the index value of the node. |
Remarks
Remove deletes any node in the asynchronous ColorNodes collection, including the first and last node. For the collection to be successfully reassigned to the ColorMap at least two nodes must be present in the collection.
When a node is removed the index of each node to its left is decremented by 1.
Example
This example demonstrates how to remove the first node in the collection. The second node then becomes node 1.
ColorNodes.Remove(1)
Used by: ColorNodes collection