Clear [ColorNodes]

The Clear method deletes all color nodes in the collection.

Syntax

object. Clear

Example

Clear deletes all nodes in the asynchronous ColorNodes collection, including the first and last node. For the collection to be successfully reassigned to the ColorMap at least two new nodes will have to be added.

This example demonstrates how to remove all the nodes of the ColorNode collection:

ColorNodes.Clear

Used by: ColorNodes collection