RemovePoint

Syntax:

RemovePoint( Index )

Parameters:

Index – Index of the existing point to remove. To remove the last point, pass -1 as the index. This index is zero based (i.e. the first point is point 0). This parameter is optional and the default is -1.

Remarks:

This function allows points to be removed from a line or shape drawn using the script drawing commands.

Note:
This command cannot be used to modify polygons drawn using the editor drawing tools.

Note:
All lines and shapes added to any individual frame are created as part of a single contour (this is a single continuous line). Adding intersecting shapes will produce gaps in the shape. To draw multiple independent shapes, use multiple frame objects.

image\Script_Button.jpgExamples