PointD 类
内容
[
隐藏
]Summary: The point double
Module: aspose.imaging.fileformats.cdr.types
Full Name: aspose.imaging.fileformats.cdr.types.PointD
Constructors
| Name | 描述 |
|---|---|
| PointD() | 初始化 PointD 类的新实例 |
| PointD(x, y) | 初始化 PointD 结构的新实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| x | float | r/w | 获取或设置 x。 |
| y | float | r/w | 获取或设置 y。 |
Methods
| Name | 描述 |
|---|---|
| from_point_f(point) | 将 PointD 转换为 PointF 结构。 |
| to_point_f() | 将 PointF 转换为 PointD 结构。 |
Constructor: PointD()
PointD()
初始化 PointD 类的新实例
Constructor: PointD(x, y)
PointD(x, y)
初始化 PointD 结构的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| x | float | x 值。 |
| y | float | y 值。 |
Method: from_point_f(point)
from_point_f(point)
Parameters:
| 参数 | Type | Description |
|---|---|---|
| point | PointF | PointD 结构。 |
Method: to_point_f()
to_point_f()
Returns
| Type | Description |
|---|---|
| PointF | PointF 结构 |