Foxit PDF SDK
foxit.common.fxcrt.Point Class Reference

Type definition for point class for integer. More...

Inherits SystemIDisposable.

Public Member Functions

 Point ()
 Constructor.
 
 Point (Point other)
 Copy constructor.
 
void Add (int x, int y)
 Add a 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 Subtract (int x, int y)
 Subtract a point. More...
 

Properties

int x [get, set]
 x coordinate of the point.
 
int y [get, set]
 y coordinate of the point.
 

Detailed Description

Type definition for point class for integer.

Member Function Documentation

◆ Add()

void foxit.common.fxcrt.Point.Add ( int  x,
int  y 
)
inline

Add a point.

Parameters
[in]xx coordinate of the subtrahend point.
[in]yx 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]xx coordinate of the point.
[in]yx coordinate of the point.
Returns
None.

◆ Set() [2/2]

void foxit.common.fxcrt.Point.Set ( Point  psv)
inline

Set values.

Parameters
[in]psvAnother value object.
Returns
None.

◆ Subtract()

void foxit.common.fxcrt.Point.Subtract ( int  x,
int  y 
)
inline

Subtract a point.

Parameters
[in]xx coordinate of the addend point.
[in]yx coordinate of the addend point.
Returns
None.