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

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

Public Member Functions

 Point ()
 Constructor.

 
 Point (Point other)
 Copy constructor.

 
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...
 

Detailed Description

Type definition for point class for integer.

Member Function Documentation

◆ add()

void com.foxit.sdk.common.fxcrt.Point.add ( int  x,
int  y 
)

Add a point.

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

◆ getX()

com.foxit.sdk.common.fxcrt.Point.getX ( )

Get x coordinate of the point.

Returns
x coordinate of the point.

◆ getY()

com.foxit.sdk.common.fxcrt.Point.getY ( )

Get y coordinate of the point.

Returns
y coordinate of the point.

◆ reset()

void com.foxit.sdk.common.fxcrt.Point.reset ( )

Reset to the base point.

Returns
None.

◆ set() [1/2]

void com.foxit.sdk.common.fxcrt.Point.set ( int  x,
int  y 
)

Set values.

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

◆ set() [2/2]

void com.foxit.sdk.common.fxcrt.Point.set ( Point  psv)

Set values.

Parameters
[in]psvAnother value object.
Returns
None.

◆ setX()

com.foxit.sdk.common.fxcrt.Point.setX ( int  value)

Set x coordinate of the point.

Parameters
[in]valuex coordinate of the point.
Returns
None.

◆ setY()

com.foxit.sdk.common.fxcrt.Point.setY ( int  value)

Set y coordinate of the point.

Parameters
[in]valuey coordinate of the point.
Returns
None.

◆ subtract()

void com.foxit.sdk.common.fxcrt.Point.subtract ( int  x,
int  y 
)

Subtract a point.

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