**Inheritance:**
java.lang.Object, [com.aspose.imaging.DisposableObject](../../com.aspose.imaging/disposableobject), [com.aspose.imaging.fileformats.cdr.objects.CdrObject](../../com.aspose.imaging.fileformats.cdr.objects/cdrobject), [com.aspose.imaging.fileformats.cdr.objects.CdrGraphicObject](../../com.aspose.imaging/fileformats/cdr.objects/cdrgraphicobject)
```
public class CdrPolygon extends CdrGraphicObject
```

该 cdr 多边形
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [CdrPolygon()](#CdrPolygon--) |  |
## 方法

| 方法 | 描述 |
| --- | --- |
| [getPoints()](#getPoints--) | 获取点。 |
| [setPoints(PointD[] value)](#setPoints-com.aspose.imaging.fileformats.cdr.types.PointD---) | 设置点。 |
| [getPointTypes()](#getPointTypes--) | 获取点类型。 |
| [setPointTypes(byte[] value)](#setPointTypes-byte---) | 设置点类型。 |
### CdrPolygon() {#CdrPolygon--}
```
public CdrPolygon()
```


### getPoints() {#getPoints--}
```
public final PointD[] getPoints()
```


获取点。

**Returns:**
com.aspose.imaging.fileformats.cdr.types.PointD[] - 点。
### setPoints(PointD[] value) {#setPoints-com.aspose.imaging.fileformats.cdr.types.PointD---}
```
public final void setPoints(PointD[] value)
```


设置点。

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

### getPointTypes() {#getPointTypes--}
```
public final byte[] getPointTypes()
```


获取点类型。

**Returns:**
byte[] - 点类型。
### setPointTypes(byte[] value) {#setPointTypes-byte---}
```
public final void setPointTypes(byte[] value)
```


设置点类型。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | byte[] | 点类型。 |

