**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.emf.MetaObject](../../com.aspose.imaging.fileformats.emf/metaobject), [com.aspose.imaging.fileformats.wmf.objects.WmfObject](../../com.aspose.imaging.fileformats.wmf.objects/wmfobject)
```
public class WmfPolyPolygon extends WmfObject
```

The PolyPolygon Object defines a series of closed polygons.
## Constructors

| Constructor | Description |
| --- | --- |
| [WmfPolyPolygon()](#WmfPolyPolygon--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getNumberOfPolygons()](#getNumberOfPolygons--) | Gets or sets the number of polygons. |
| [setNumberOfPolygons(int value)](#setNumberOfPolygons-int-) | Gets or sets the number of polygons. |
| [getAPointsPerPolygon()](#getAPointsPerPolygon--) | Gets or sets a points per polygon. |
| [setAPointsPerPolygon(int[] value)](#setAPointsPerPolygon-int---) | Gets or sets a points per polygon. |
| [getAPoints()](#getAPoints--) | Gets or sets a points. |
| [setAPoints(Point[][] value)](#setAPoints-com.aspose.imaging.Point-----) | Gets or sets a points. |
### WmfPolyPolygon() {#WmfPolyPolygon--}
```
public WmfPolyPolygon()
```


### getNumberOfPolygons() {#getNumberOfPolygons--}
```
public int getNumberOfPolygons()
```


Gets or sets the number of polygons. The number of polygons in the object.

Value: The number of polygons.

**Returns:**
int
### setNumberOfPolygons(int value) {#setNumberOfPolygons-int-}
```
public void setNumberOfPolygons(int value)
```


Gets or sets the number of polygons. The number of polygons in the object.

Value: The number of polygons.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### getAPointsPerPolygon() {#getAPointsPerPolygon--}
```
public int[] getAPointsPerPolygon()
```


Gets or sets a points per polygon.

Value: The number of points for each polygon in the object.

**Returns:**
int[]
### setAPointsPerPolygon(int[] value) {#setAPointsPerPolygon-int---}
```
public void setAPointsPerPolygon(int[] value)
```


Gets or sets a points per polygon.

Value: The number of points for each polygon in the object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int[] |  |

### getAPoints() {#getAPoints--}
```
public Point[][] getAPoints()
```


Gets or sets a points.

Value: a points.

**Returns:**
com.aspose.imaging.Point[][]
### setAPoints(Point[][] value) {#setAPoints-com.aspose.imaging.Point-----}
```
public void setAPoints(Point[][] value)
```


Gets or sets a points.

Value: a points.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Point\[\]](../../com.aspose.imaging/point) |  |

