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

Type definition for point class for float.
More...

Inherits SystemIDisposable.

Public Member Functions

 PointF ()
 Constructor.

 
 PointF (float new_x, float new_y)
 Constructor, with parameters.
More...
 
 PointF (PointF other)
 Constructor, with another object.
More...
 
void Add (float x, float y)
 Add a 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 Subtract (float x, float y)
 Subtract a point.
More...
 

Properties

float x [get, set]
 x coordinate of the point.

 
float y [get, set]
 y coordinate of the point.

 

Detailed Description

Type definition for point class for float.

Constructor & Destructor Documentation

◆ PointF() [1/2]

foxit.common.fxcrt.PointF.PointF ( float  new_x,
float  new_y 
)
inline

Constructor, with parameters.

Parameters
[in]new_xNew value for x.
[in]new_yNew value for y.

◆ PointF() [2/2]

foxit.common.fxcrt.PointF.PointF ( PointF  other)
inline

Constructor, with another object.

Parameters
[in]otherAnother object.

Member Function Documentation

◆ Add()

void foxit.common.fxcrt.PointF.Add ( float  x,
float  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.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]xValue for x.
[in]yValue for y.
Returns
None.

◆ Set() [2/2]

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

Set values.

Parameters
[in]psvAnother value object.
Returns
None.

◆ Subtract()

void foxit.common.fxcrt.PointF.Subtract ( float  x,
float  y 
)
inline

Subtract a point.

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