In This Topic
Removes points from collection.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebPointCollectionJS(points, maxLength);
var value; // Type: any
// Parameters
var positions; // Type: number
value = instance.removePoints(positions);
function removePoints(
: number
) : any;
Parameters
- positions
- An array of zero-based indices of points in the collection.
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
| Thrown if one of indexes is less than zero or one of indexes is equal to or greater than points collection length. |
| Thrown if collection has fixed length. |
Browser Compatibility
See Also