public class EmfPolyPolygon extends EmfDrawingRecordType
The EMR_POLYPOLYGON record specifies a series of closed polygons.
Each polygon SHOULD be outlined using the current pen, and filled using the current brush and polygon fill mode that are defined in the playback device context. The polygons defined by this record can overlap.
Constructor and Description |
---|
EmfPolyPolygon(EmfRecord source)
Initializes a new instance of the
EmfPolyPolygon class. |
Modifier and Type | Method and Description |
---|---|
Point[][] |
getAPoints()
Gets or sets an array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that
specifies the points for all polygons in logical units.
|
Rectangle |
getBounds()
Gets or sets a 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 total number of points in all polygons.
|
int |
getNumberOfPolygons()
Gets or sets a 32-bit unsigned integer that specifies the number of polygons.
|
int[] |
getPolygonPointCount()
Gets or sets an array of 32-bit unsigned integers that specifies the point
count for each polygon.
|
void |
setAPoints(Point[][] value)
Gets or sets an array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that
specifies the points for all polygons in logical units.
|
void |
setBounds(Rectangle value)
Gets or sets a 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 total number of points in all polygons.
|
void |
setNumberOfPolygons(int value)
Gets or sets a 32-bit unsigned integer that specifies the number of polygons.
|
void |
setPolygonPointCount(int[] value)
Gets or sets an array of 32-bit unsigned integers that specifies the point
count for each polygon.
|
getSize, getType, setSize, setType
deepClone_internalized
public EmfPolyPolygon(EmfRecord source)
Initializes a new instance of the EmfPolyPolygon
class.
source
- The source.public Rectangle getBounds()
Gets or sets a 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 WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle, in device units.
public int getNumberOfPolygons()
Gets or sets a 32-bit unsigned integer that specifies the number of polygons.
public void setNumberOfPolygons(int value)
Gets or sets a 32-bit unsigned integer that specifies the number of polygons.
public int getCount()
Gets or sets a 32-bit unsigned integer that specifies the total number of points in all polygons.
public void setCount(int value)
Gets or sets a 32-bit unsigned integer that specifies the total number of points in all polygons.
public int[] getPolygonPointCount()
Gets or sets an array of 32-bit unsigned integers that specifies the point count for each polygon.
public void setPolygonPointCount(int[] value)
Gets or sets an array of 32-bit unsigned integers that specifies the point count for each polygon.
public Point[][] getAPoints()
Gets or sets an array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the points for all polygons in logical units. The number of points is specified by the Count field value.
public void setAPoints(Point[][] value)
Gets or sets an array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the points for all polygons in logical units. The number of points is specified by the Count field value.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.