Foxit PDF SDK
|
Type definition for point class for integer.
More...
Public Member Functions | |
Point () | |
Constructor. | |
Point (int new_x, int new_y) | |
Constructor, with parameters. More... | |
Point (Point other) | |
Copy constructor. More... | |
void | add (int x, int y) |
Add a point. More... | |
int | getX () |
Get x coordinate of the point. More... | |
int | getY () |
Get y coordinate of the point. More... | |
void | reset () |
Reset to the base point. More... | |
void | set (int x, int y) |
Set values. More... | |
void | set (Point psv) |
Set values. More... | |
void | setX (int value) |
Set x coordinate of the point. More... | |
void | setY (int value) |
Set y coordinate of the point. More... | |
void | subtract (int x, int y) |
Subtract a point. More... | |
Type definition for point class for integer.
com.foxit.sdk.common.fxcrt.Point.Point | ( | int | new_x, |
int | new_y | ||
) |
Constructor, with parameters.
[in] | new_x | x coordinate of the point. |
[in] | new_y | y coordinate of the point. |
com.foxit.sdk.common.fxcrt.Point.Point | ( | Point | other | ) |
Copy constructor.
[in] | other | Another object. |
void com.foxit.sdk.common.fxcrt.Point.add | ( | int | x, |
int | y | ||
) |
Add a point.
[in] | x | x coordinate of the subtrahend point. |
[in] | y | x coordinate of the subtrahend point. |
com.foxit.sdk.common.fxcrt.Point.getX | ( | ) |
Get x coordinate of the point.
com.foxit.sdk.common.fxcrt.Point.getY | ( | ) |
Get y coordinate of the point.
void com.foxit.sdk.common.fxcrt.Point.reset | ( | ) |
Reset to the base point.
void com.foxit.sdk.common.fxcrt.Point.set | ( | int | x, |
int | y | ||
) |
Set values.
[in] | x | x coordinate of the point. |
[in] | y | x coordinate of the point. |
void com.foxit.sdk.common.fxcrt.Point.set | ( | Point | psv | ) |
Set values.
[in] | psv | Another value object. |
com.foxit.sdk.common.fxcrt.Point.setX | ( | int | value | ) |
Set x coordinate of the point.
[in] | value | x coordinate of the point. |
com.foxit.sdk.common.fxcrt.Point.setY | ( | int | value | ) |
Set y coordinate of the point.
[in] | value | y coordinate of the point. |
void com.foxit.sdk.common.fxcrt.Point.subtract | ( | int | x, |
int | y | ||
) |
Subtract a point.
[in] | x | x coordinate of the addend point. |
[in] | y | x coordinate of the addend point. |