points_delete()

Deletes a point at the specified index from the list of points.

Syntax

points_delete(index)

Parameters

Parameter Type Description Comment
index Number Index of the point to delete Must be within valid range

Return Value

Examples

Delete the first point in the list

points_delete(0);

Delete the third point in the list

points_delete(2);

See also

points_count
points_clear
points_add
points_get
points_set
points_delete
points_load
points_save