PointD Class
Contents
[
Hide
]Summary: The point double
Module: aspose.imaging.fileformats.cdr.types
Full Name: aspose.imaging.fileformats.cdr.types.PointD
Constructors
| Name | Description |
|---|---|
| PointD() | Initializes a new instance of the PointD class |
| PointD(x, y) | Initializes a new instance of the PointD struct. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| x | float | r/w | Gets or sets the x. |
| y | float | r/w | Gets or sets the y. |
Methods
| Name | Description |
|---|---|
| from_point_f(point) | Converts PointD to the PointF structure. |
| to_point_f() | Converts PointF to the PointD structure. |
Constructor: PointD()
PointD()
Initializes a new instance of the PointD class
Constructor: PointD(x, y)
PointD(x, y)
Initializes a new instance of the PointD struct.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| x | float | The x value. |
| y | float | The y value. |
Method: from_point_f(point)
from_point_f(point)
Converts PointD to the PointF structure.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| point | PointF | The PointD structure. |
Method: to_point_f()
to_point_f()
Converts PointF to the PointD structure.
Returns
| Type | Description |
|---|---|
| PointF | The PointF structure |