In This Topic
Inserts a point into collection.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebPointCollectionJS(points, maxLength);
var value; // Type: any
// Parameters
var index; // Type: number
var x; // Type: number
var y; // Type: number
value = instance.insert(index, x, y);
function insert(
: number,
: number,
: number
) : any;
Parameters
- index
- Point index in the collection.
- x
- X coordinate of point.
- y
- Y coordinate of point.
Exceptions
Exception | Description |
| Thrown if arguments have wrong types. |
| Thrown if index is less than zero or index is greater than points collection length. |
Browser Compatibility
See Also