**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct
```
public class PointD extends Struct<PointD>
```

该 点双精度
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [PointD()](#PointD--) |  |
| [PointD(double x, double y)](#PointD-double-double-) | 初始化 [PointD](../../com.aspose.imaging.fileformats.cdr.types/pointd) 结构的新实例。 |
## 方法

| 方法 | 描述 |
| --- | --- |
| [getX()](#getX--) | 获取 x。 |
| [setX(double value)](#setX-double-) | 设置 x。 |
| [getY()](#getY--) | 获取 y。 |
| [setY(double value)](#setY-double-) | 设置 y。 |
| [toPointF()](#toPointF--) |  |
| [fromPointF(PointF point)](#fromPointF-com.aspose.imaging.PointF-) | 将 [PointD](../../com.aspose.imaging.fileformats.cdr.types/pointd) 转换为 java.awt.geom.Point2D.Float 结构。 |
| [toString()](#toString--) | 转换为字符串。 |
| [CloneTo(PointD that)](#CloneTo-com.aspose.imaging.fileformats.cdr.types.PointD-) |  |
| [Clone()](#Clone--) |  |
| [equals(Object obj)](#equals-java.lang.Object-) |  |
| [hashCode()](#hashCode--) |  |
| [isEquals(PointD obj1, PointD obj2)](#isEquals-com.aspose.imaging.fileformats.cdr.types.PointD-com.aspose.imaging.fileformats.cdr.types.PointD-) |  |
### PointD() {#PointD--}
```
public PointD()
```


### PointD(double x, double y) {#PointD-double-double-}
```
public PointD(double x, double y)
```


初始化 [PointD](../../com.aspose.imaging.fileformats.cdr.types/pointd) 结构的新实例。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| x | double | x 值。 |
| y | double | y 值。 |

### getX() {#getX--}
```
public final double getX()
```


获取 x。

**Returns:**
double - x。
### setX(double value) {#setX-double-}
```
public final void setX(double value)
```


设置 x。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | double | x。 |

### getY() {#getY--}
```
public final double getY()
```


获取 y。

**Returns:**
double - y.
### setY(double value) {#setY-double-}
```
public final void setY(double value)
```


设置 y。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | double | y。 |

### toPointF() {#toPointF--}
```
public final PointF toPointF()
```




**Returns:**
[PointF](../../com.aspose.imaging/pointf)
### fromPointF(PointF point) {#fromPointF-com.aspose.imaging.PointF-}
```
public final void fromPointF(PointF point)
```


将 [PointD](../../com.aspose.imaging.fileformats.cdr.types/pointd) 转换为 java.awt.geom.Point2D.Float 结构。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| point | [PointF](../../com.aspose.imaging/pointf) | [PointD](../../com.aspose.imaging.fileformats.cdr.types/pointd) 结构。 |

### toString() {#toString--}
```
public String toString()
```


转换为字符串。

**Returns:**
java.lang.String - 表示此实例的字符串。
### CloneTo(PointD that) {#CloneTo-com.aspose.imaging.fileformats.cdr.types.PointD-}
```
public void CloneTo(PointD that)
```




**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| that | [PointD](../../com.aspose.imaging.fileformats.cdr.types/pointd) |  |

### Clone() {#Clone--}
```
public PointD Clone()
```




**Returns:**
[PointD](../../com.aspose.imaging.fileformats.cdr.types/pointd)
### equals(Object obj) {#equals-java.lang.Object-}
```
public boolean equals(Object obj)
```




**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| obj | java.lang.Object |  |

**Returns:**
boolean
### hashCode() {#hashCode--}
```
public int hashCode()
```




**Returns:**
int
### isEquals(PointD obj1, PointD obj2) {#isEquals-com.aspose.imaging.fileformats.cdr.types.PointD-com.aspose.imaging.fileformats.cdr.types.PointD-}
```
public static boolean isEquals(PointD obj1, PointD obj2)
```




**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| obj1 | [PointD](../../com.aspose.imaging.fileformats.cdr.types/pointd) |  |
| obj2 | [PointD](../../com.aspose.imaging.fileformats.cdr.types/pointd) |  |

**Returns:**
boolean
