
**Summary:** The point double

**Module:** [aspose.imaging.fileformats.cdr.types](/imaging/python-net/aspose.imaging.fileformats.cdr.types/)

**Full Name:** aspose.imaging.fileformats.cdr.types.PointD

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [PointD()](#PointD__1) | Initializes a new instance of the PointD class |
| [PointD(x, y)](#PointD_x_y_2) | Initializes a new instance of the [PointD](/imaging/python-net/aspose.imaging.fileformats.cdr.types/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)](#from_point_f_point_1) | Converts [PointD](/imaging/python-net/aspose.imaging.fileformats.cdr.types/pointd/)  to the [PointF](/imaging/python-net/aspose.imaging/pointf/) structure. |
| [to_point_f()](#to_point_f__2) | Converts [PointF](/imaging/python-net/aspose.imaging/pointf/)  to the [PointD](/imaging/python-net/aspose.imaging.fileformats.cdr.types/pointd/) structure. |


### Constructor: PointD() {#PointD__1}


```
 PointD() 
```

Initializes a new instance of the PointD class

### Constructor: PointD(x, y) {#PointD_x_y_2}


```
 PointD(x, y) 
```

Initializes a new instance of the [PointD](/imaging/python-net/aspose.imaging.fileformats.cdr.types/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_1}


```
 from_point_f(point) 
```

Converts [PointD](/imaging/python-net/aspose.imaging.fileformats.cdr.types/pointd/)  to the [PointF](/imaging/python-net/aspose.imaging/pointf/) structure.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| point | [PointF](/imaging/python-net/aspose.imaging/pointf/) | The [PointD](/imaging/python-net/aspose.imaging.fileformats.cdr.types/pointd/) structure. |

### Method: to_point_f() {#to_point_f__2}


```
 to_point_f() 
```

Converts [PointF](/imaging/python-net/aspose.imaging/pointf/)  to the [PointD](/imaging/python-net/aspose.imaging.fileformats.cdr.types/pointd/) structure.

**Returns**

| Type | Description |
| :- | :- |
| [PointF](/imaging/python-net/aspose.imaging/pointf/) | The [PointF](/imaging/python-net/aspose.imaging/pointf/) structure |


