Foxit PDF SDK
com.foxit.sdk.common.fxcrt.PointF类 参考

浮点数点类的类型定义。
更多...

Public 成员函数

 PointF ()
 构造函数。
 
 PointF (float new_x, float new_y)
 带参数的构造函数。
更多...
 
 PointF (PointF other)
 用另一个对象构造。
更多...
 
void add (float x, float y)
 添加一个点。
更多...
 
float getX ()
 Get 点的x坐标。
更多...
 
float getY ()
 Get 点的y坐标。
更多...
 
void reset ()
 重置到基点。
更多...
 
void set (float x, float y)
 设置数值。
更多...
 
void set (PointF psv)
 设置数值。
更多...
 
void setX (float value)
 Set 点的x坐标。
更多...
 
void setY (float value)
 Set 点的y坐标。
更多...
 
void subtract (float x, float y)
 减去一个点。
更多...
 

详细描述

浮点数点类的类型定义。

构造及析构函数说明

◆ PointF() [1/2]

com.foxit.sdk.common.fxcrt.PointF.PointF ( float  new_x,
float  new_y 
)

带参数的构造函数。

参数
[in]new_xx 的新值。
[in]new_yy 的新值。

◆ PointF() [2/2]

com.foxit.sdk.common.fxcrt.PointF.PointF ( PointF  other)

用另一个对象构造。

参数
[in]other另一个对象。

成员函数说明

◆ add()

void com.foxit.sdk.common.fxcrt.PointF.add ( float  x,
float  y 
)

添加一个点。

参数
[in]x被减数点的x坐标。
[in]y被减数点的y坐标。
返回
无。

◆ getX()

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

Get 点的x坐标。

返回
点的x坐标。

◆ getY()

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

Get 点的y坐标。

返回
点的y坐标。

◆ reset()

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

重置到基点。

返回
无。

◆ set() [1/2]

void com.foxit.sdk.common.fxcrt.PointF.set ( float  x,
float  y 
)

设置数值。

参数
[in]xx 的数值。
[in]yy 的数值。
返回
无返回值。

◆ set() [2/2]

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

设置数值。

参数
[in]psv另一个值对象。
返回
无返回值。

◆ setX()

com.foxit.sdk.common.fxcrt.PointF.setX ( float  value)

Set 点的x坐标。

参数
[in]value点的x坐标。
返回
None.

◆ setY()

com.foxit.sdk.common.fxcrt.PointF.setY ( float  value)

Set 点的y坐标。

参数
[in]value点的y坐标。
返回
None.

◆ subtract()

void com.foxit.sdk.common.fxcrt.PointF.subtract ( float  x,
float  y 
)

减去一个点。

参数
[in]x加数点的x坐标。
[in]y加数点的y坐标。
返回
无。