EmfPolygon16

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfDrawingRecordType

public final class EmfPolygon16 extends EmfDrawingRecordType

The EMR_POLYGON16 record specifies a polygon consisting of two or more vertexes connected by straight lines. The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode. The polygon is closed automatically by drawing a line from the last vertex to the first.

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

ConstructorDescription
EmfPolygon16(EmfRecord source)Initializes a new instance of the EmfPolygon16 class.
EmfPolygon16()Initializes a new instance of the EmfPolygon16 class.

Methods

MethodDescription
getBounds()Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle, in device units.
setBounds(Rectangle value)Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle, in device units.
getAPoints()Gets or sets a Count length array of WMF PointS objects, specified in [MS-WMF] section 2.2.2.16, which specifies the array of points.
setAPoints(Point[] value)Gets or sets a Count length array of WMF PointS objects, specified in [MS-WMF] section 2.2.2.16, which specifies the array of points.

EmfPolygon16(EmfRecord source)

public EmfPolygon16(EmfRecord source)

Initializes a new instance of the EmfPolygon16 class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfPolygon16()

public EmfPolygon16()

Initializes a new instance of the EmfPolygon16 class.

getBounds()

public Rectangle getBounds()

Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle, in device units.

Returns: Rectangle

setBounds(Rectangle value)

public void setBounds(Rectangle value)

Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle, in device units.

Parameters:

ParameterTypeDescription
valueRectangle

getAPoints()

public Point[] getAPoints()

Gets or sets a Count length array of WMF PointS objects, specified in [MS-WMF] section 2.2.2.16, which specifies the array of points.

Returns: com.aspose.imaging.Point[]

setAPoints(Point[] value)

public void setAPoints(Point[] value)

Gets or sets a Count length array of WMF PointS objects, specified in [MS-WMF] section 2.2.2.16, which specifies the array of points.

Parameters:

ParameterTypeDescription
valuePoint[]