ObjectID =  gradient .clone  (  ObjectID  )  
                           
Description :

This instruction clones a gradient.

Parameters :

  • ObjectID of the gradient.

Return Handle :

  • ObjectID of the clone.

Notes :


Cloned gradients have individual ObjectIDs which share the same bitmap. As a result they can be manipulated independently.

When a cloned gradient is killed or freed, its associated bitmap is only removed from computer memory if all other associated clones have been killed or freed.


Examples :