![]() |
SignDoc SDK (Java)
5.0.0
|
A frame and its weight. More...
Public Member Functions | |
SignDocWeightedFrame () | |
Constructor. More... | |
SignDocWeightedFrame (int aX1, int aY1, int aX2, int aY2, double aWeight) | |
Constructor. More... | |
double | getWeight () |
Get the weight. More... | |
String | toString () |
![]() | |
SignDocImageRect () | |
Constructor. More... | |
SignDocImageRect (int aX1, int aY1, int aX2, int aY2) | |
Constructor. More... | |
void | set (int aX1, int aY1, int aX2, int aY2) |
Set the coordinates of the rectangle. More... | |
void | normalize () |
Normalize the rectangle. More... | |
int | getWidth () |
Get the width of the rectangle. More... | |
int | getHeight () |
Get the height of the rectangle. More... | |
boolean | isEmpty () |
Check if the rectangle is empty. More... | |
void | intersectWith (SignDocImageRect aOther) |
Intersect this rectangle with another one. More... | |
void | uniteWith (SignDocImageRect aOther) |
Unite this rectangle with another one. More... | |
String | toString () |
Public Attributes | |
double | mWeight |
The weight (0.0 through 1.0). More... | |
![]() | |
int | mX1 |
int | mY1 |
int | mX2 |
int | mY2 |
A frame and its weight.
The right and bottom coordinates are exclusive.
This class uses image coordinates, see Coordinate Systems.
Constructor.
All coordinates and the weight are set to 0.
SignDocWeightedFrame | ( | int | aX1, |
int | aY1, | ||
int | aX2, | ||
int | aY2, | ||
double | aWeight | ||
) |
Constructor.
[in] | aX1 | The first X coordinate. |
[in] | aY1 | The first Y coordinate. |
[in] | aX2 | The second X coordinate. |
[in] | aY2 | The second Y coordinate. |
[in] | aWeight | The weight (0.0 through 1.0, not checked). |
double getWeight | ( | ) |
Get the weight.
String toString | ( | ) |
double mWeight |
The weight (0.0 through 1.0).