Foxit PDF SDK
|
Type definition for point class for float.
More...
Public Member Functions | |
PointF () | |
Constructor. | |
PointF (float X, float Y) | |
Constructor, with parameters. More... | |
PointF (PointF other) | |
Constructor, with another object. More... | |
void | add (float x, float y) |
Add a point. More... | |
float | getX () |
Get x coordinate of the point. More... | |
float | getY () |
Get y coordinate of the point. More... | |
void | reset () |
Reset to the base point. More... | |
void | set (float x, float y) |
Set values. More... | |
void | set (PointF psv) |
Set values. More... | |
void | setX (float value) |
Set x coordinate of the point. More... | |
void | setY (float value) |
Set y coordinate of the point. More... | |
void | subtract (float x, float y) |
Subtract a point. More... | |
Type definition for point class for float.
com.foxit.sdk.common.fxcrt.PointF.PointF | ( | float | new_x, |
float | new_y | ||
) |
Constructor, with parameters.
[in] | new_x | New value for x. |
[in] | new_y | New value for y. |
com.foxit.sdk.common.fxcrt.PointF.PointF | ( | PointF | other | ) |
Constructor, with another object.
[in] | other | Another object. |
void com.foxit.sdk.common.fxcrt.PointF.add | ( | float | x, |
float | 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.PointF.getX | ( | ) |
Get x coordinate of the point.
com.foxit.sdk.common.fxcrt.PointF.getY | ( | ) |
Get y coordinate of the point.
void com.foxit.sdk.common.fxcrt.PointF.reset | ( | ) |
Reset to the base point.
void com.foxit.sdk.common.fxcrt.PointF.set | ( | float | x, |
float | y | ||
) |
Set values.
[in] | x | Value for x. |
[in] | y | Value for y. |
void com.foxit.sdk.common.fxcrt.PointF.set | ( | PointF | psv | ) |
Set values.
[in] | psv | Another value object. |
com.foxit.sdk.common.fxcrt.PointF.setX | ( | float | value | ) |
Set x coordinate of the point.
[in] | value | x coordinate of the point. |
com.foxit.sdk.common.fxcrt.PointF.setY | ( | float | value | ) |
Set y coordinate of the point.
[in] | value | y coordinate of the point. |
void com.foxit.sdk.common.fxcrt.PointF.subtract | ( | float | x, |
float | y | ||
) |
Subtract a point.
[in] | x | x coordinate of the addend point. |
[in] | y | x coordinate of the addend point. |