EmfPolyPolygon

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 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.

Constructors

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

Methods

MethodDescription
getBounds()Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle, in device units.
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.
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.
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.

EmfPolyPolygon(EmfRecord source)

public EmfPolyPolygon(EmfRecord source)

Initializes a new instance of the EmfPolyPolygon class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfPolyPolygon()

public EmfPolyPolygon()

Initializes a new instance of the EmfPolyPolygon class.

getBounds()

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.

Returns: Rectangle

setBounds(Rectangle value)

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.

Parameters:

ParameterTypeDescription
valueRectangle

getAPoints()

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.

Returns: com.aspose.imaging.Point[][]

setAPoints(Point[][] 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.

Parameters:

ParameterTypeDescription
valuePoint[]