Type definition for point class for integer.
More...
Inherits SystemIDisposable.
|
|
int | x [get, set] |
| | x coordinate of the point.
|
| |
|
int | y [get, set] |
| | y coordinate of the point.
|
| |
Type definition for point class for integer.
◆ Point() [1/2]
| foxit.common.fxcrt.Point.Point |
( |
int |
new_x, |
|
|
int |
new_y |
|
) |
| |
|
inline |
Constructor, with parameters.
- Parameters
-
| [in] | new_x | x coordinate of the point. |
| [in] | new_y | y coordinate of the point. |
◆ Point() [2/2]
| foxit.common.fxcrt.Point.Point |
( |
Point |
other | ) |
|
|
inline |
Copy constructor.
- Parameters
-
◆ Add()
| void foxit.common.fxcrt.Point.Add |
( |
int |
x, |
|
|
int |
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.Point.Reset |
( |
| ) |
|
|
inline |
Reset to the base point.
- Returns
- None.
◆ Set() [1/2]
| void foxit.common.fxcrt.Point.Set |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
Set values.
- Parameters
-
| [in] | x | x coordinate of the point. |
| [in] | y | x coordinate of the point. |
- Returns
- None.
◆ Set() [2/2]
| void foxit.common.fxcrt.Point.Set |
( |
Point |
psv | ) |
|
|
inline |
Set values.
- Parameters
-
| [in] | psv | Another value object. |
- Returns
- None.
◆ Subtract()
| void foxit.common.fxcrt.Point.Subtract |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
Subtract a point.
- Parameters
-
| [in] | x | x coordinate of the addend point. |
| [in] | y | x coordinate of the addend point. |
- Returns
- None.