BoundingBox

This class represents a bounding box that contains a signature.

package

Application

Methods

Gets the height of the bounding box.

getHeight() : float

Response

float

Gets the width of the bounding box.

getWidth() : float

Response

float

Gets the value of the left-most coordinate.

getX1() : float

Response

float

Gets the value of the right-most coordinate.

getX2() : float

Response

float

Gets the value of the top-most coordinate.

getY1() : float

Response

float

Gets the value of the bottom-most coordinate.

getY2() : float

Response

float

Sets the height of the bounding box.

setHeight(floatheight) : mixed

Arguments

height

float

Response

mixed

Sets the width of the bounding box.

setWidth(floatwidth) : mixed

Arguments

width

float

Response

mixed

Sets the value of the left-most coordinate.

setX1(floatx1) : mixed

Arguments

x1

float

Response

mixed

Sets the value of the right-most coordinate.

setX2(floatx2) : mixed

Arguments

x2

float

Response

mixed

Sets the value of the top-most coordinate.

setY1(floaty1) : mixed

Arguments

y1

float

Response

mixed

Sets the value of the bottom-most coordinate.

setY2(floaty2) : mixed

Arguments

y2

float

Response

mixed

Properties

This contains the value of the left-most coordinate.

x1 : float
var

Type(s)

float

This contains the value of the right-most coordinate.

x2 : float
var

Type(s)

float

This contains the value of the top-most coordinate.

y1 : float
var

Type(s)

float

This contains the value of the bottom-most coordinate.

y2 : float
var

Type(s)

float

This contains the width of the bounding box.

width : float
var

Type(s)

float

This contains the height of the bounding box.

height : float
var

Type(s)

float