In This Topic
Sets the rectangle of interaction object.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebRectangleAnnotationViewJS();
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);
function setRectangle(
: number,
: number,
: number,
: number
) : any;
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
See Also