Type definition for point class for float.
More...
Inherits SystemIDisposable.
|
float | x [get, set] |
| x coordinate of the point.
|
|
float | y [get, set] |
| y coordinate of the point.
|
|
Type definition for point class for float.
◆ PointF() [1/2]
foxit.common.fxcrt.PointF.PointF |
( |
float |
new_x, |
|
|
float |
new_y |
|
) |
| |
|
inline |
Constructor, with parameters.
- Parameters
-
[in] | new_x | New value for x. |
[in] | new_y | New value for y. |
◆ PointF() [2/2]
foxit.common.fxcrt.PointF.PointF |
( |
PointF |
other | ) |
|
|
inline |
Constructor, with another object.
- Parameters
-
◆ Add()
void foxit.common.fxcrt.PointF.Add |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
Add a point.
- Parameters
-
[in] | x | x coordinate of the subtrahend point. |
[in] | y | x coordinate of the subtrahend point. |
- Returns
- None.
◆ Reset()
void foxit.common.fxcrt.PointF.Reset |
( |
| ) |
|
|
inline |
Reset to the base point.
- Returns
- None.
◆ Set() [1/2]
void foxit.common.fxcrt.PointF.Set |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
Set values.
- Parameters
-
[in] | x | Value for x. |
[in] | y | Value for y. |
- Returns
- None.
◆ Set() [2/2]
void foxit.common.fxcrt.PointF.Set |
( |
PointF |
psv | ) |
|
|
inline |
Set values.
- Parameters
-
[in] | psv | Another value object. |
- Returns
- None.
◆ Subtract()
void foxit.common.fxcrt.PointF.Subtract |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
Subtract a point.
- Parameters
-
[in] | x | x coordinate of the addend point. |
[in] | y | x coordinate of the addend point. |
- Returns
- None.