B2d_shape_duplicate - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Duplicates the given shape and returns the index of the copy.
Parameters
Parameter | Description |
---|---|
id | index of the shape to duplicate |
Return Values
integer: Returns the index of the duplicated shape.
Example Call
// demonstrates create a new shape
mynewshape = b2d_shape_duplicate(myorigshape);
NOTOC