VintaSoft Imaging .NET SDK v8.5
swap Method
Vintasoft.Imaging.Annotation.Html5 Namespace > WebPointCollectionJS type : swap Method
Zero-based index of the first point.
Zero-based index of the second point.
Swaps two points in the collection.
Syntax
var instance = new Vintasoft.Imaging.Annotation.Html5.WebPointCollectionJS(points, maxLength);
var value; // Type: any

// Parameters
var first; // Type:  number
var second; // Type:  number

value = instance.swap(first, second);
function swap( 
   first : number,
   second : number
) : any;

Parameters

first
Zero-based index of the first point.
second
Zero-based index of the second point.
Browser Compatibility
9
5
11
5
See Also

Reference

WebPointCollectionJS type