public class EmfPolygon extends EmfDrawingRecordType
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
Constructor and Description |
---|
EmfPolygon(EmfRecord source)
Initializes a new instance of the
EmfPolygon class. |
Modifier and Type | Method and Description |
---|---|
Point[] |
getAPoints()
Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15)
that specifies the vertexes of the polygon in logical units.
|
Rectangle |
getBounds()
Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies
the bounding rectangle in device units.
|
int |
getCount()
Gets or sets a 32-bit unsigned integer that specifies the number of points in the aPoints array.
|
void |
setAPoints(Point[] value)
Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15)
that specifies the vertexes of the polygon in logical units.
|
void |
setBounds(Rectangle value)
Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies
the bounding rectangle in device units.
|
void |
setCount(int value)
Gets or sets a 32-bit unsigned integer that specifies the number of points in the aPoints array.
|
getSize, getType, setSize, setType
deepClone_internalized
public EmfPolygon(EmfRecord source)
Initializes a new instance of the EmfPolygon
class.
source
- The source.public Rectangle getBounds()
Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units.
public void setBounds(Rectangle value)
Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units.
public int getCount()
Gets or sets a 32-bit unsigned integer that specifies the number of points in the aPoints array.
public void setCount(int value)
Gets or sets a 32-bit unsigned integer that specifies the number of points in the aPoints array.
public Point[] getAPoints()
Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the vertexes of the polygon in logical units.
public void setAPoints(Point[] value)
Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the vertexes of the polygon in logical units.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.