**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.emf.MetaObject](../../com.aspose.imaging.fileformats.emf/metaobject), [com.aspose.imaging.fileformats.emf.emf.records.EmfRecord](../../com.aspose.imaging.fileformats.emf.emf.records/emfrecord), [com.aspose.imaging.fileformats.emf.emf.records.EmfDrawingRecordType](../../com.aspose.imaging.fileformats.emf.emf.records/emfdrawingrecordtype), [com.aspose.imaging.fileformats.emf.emf.records.EmfBoundedRecord](../../com.aspose.imaging.fileformats.emf.emf.records/emfboundedrecord), [com.aspose.imaging.fileformats.emf.emf.records.EmfPolyShape](../../com.aspose.imaging.fileformats.emf.emf.records/emfpolyshape)
```
public final class EmfPolygon extends EmfPolyShape
```

The EMR\_POLYGON record specifies a polygon consisting of two or more vertexes connected by straight lines.

The polygon SHOULD be outlined using the current pen and filled using the current brush and polygon fill mode. The polygon SHOULD be closed automatically by drawing a line from the last vertex to the first
## Constructors

| Constructor | Description |
| --- | --- |
| [EmfPolygon(EmfRecord source)](#EmfPolygon-com.aspose.imaging.fileformats.emf.emf.records.EmfRecord-) | Initializes a new instance of the `EmfPolygon` class. |
| [EmfPolygon()](#EmfPolygon--) | Initializes a new instance of the `EmfPolygon` class. |
### EmfPolygon(EmfRecord source) {#EmfPolygon-com.aspose.imaging.fileformats.emf.emf.records.EmfRecord-}
```
public EmfPolygon(EmfRecord source)
```


Initializes a new instance of the `EmfPolygon` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| source | [EmfRecord](../../com.aspose.imaging.fileformats.emf.emf.records/emfrecord) | The source. |

### EmfPolygon() {#EmfPolygon--}
```
public EmfPolygon()
```


Initializes a new instance of the `EmfPolygon` class.

