VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebRectangularSelectionToolJS type / setRectangle Property
Syntax BrowserCompatibility SeeAlso
In This Topic
setRectangle Method
In This Topic
Sets the rectangle of interaction object.
Syntax
var instance = new Vintasoft.Imaging.UI.VisualTools.WebRectangularSelectionToolJS();

var value; // Type: any

// Parameters
var x0; // Type: number
var y0; // Type: number
var x1; // Type: number
var y1; // Type: number

value = instance.setRectangle(x0, y0, x1, y1);

Parameters

x0
X-coordinate of left-top point.
y0
Y-coordinate of left-top point.
x1
X-coordinate of right-bottom point.
y1
Y-coordinate of right-bottom point.
Browser Compatibility
56+
45+
11
See Also