EmfPolyDraw

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 EmfPolyDraw extends EmfDrawingRecordType

The EMR_POLYDRAW record specifies a set of line segments and Bezier curves.

Constructors

ConstructorDescription
EmfPolyDraw(EmfRecord source)Initializes a new instance of the EmfPolyDraw class.
EmfPolyDraw()Initializes a new instance of the EmfPolyDraw 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 PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the array of points, in logical units.
setAPoints(Point[] value)Gets or sets a Count length array of WMF PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the array of points, in logical units.
getAbTypes()Gets or sets a Count length array of byte values that specifies how each point in the Gets or sets aPoints array is used.
setAbTypes(byte[] value)Gets or sets a Count length array of byte values that specifies how each point in the Gets or sets aPoints array is used.

EmfPolyDraw(EmfRecord source)

public EmfPolyDraw(EmfRecord source)

Initializes a new instance of the EmfPolyDraw class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfPolyDraw()

public EmfPolyDraw()

Initializes a new instance of the EmfPolyDraw 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 PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the array of points, in logical units.

Returns: com.aspose.imaging.Point[]

setAPoints(Point[] value)

public void setAPoints(Point[] value)

Gets or sets a Count length array of WMF PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the array of points, in logical units.

Parameters:

ParameterTypeDescription
valuePoint[]

getAbTypes()

public byte[] getAbTypes()

Gets or sets a Count length array of byte values that specifies how each point in the Gets or sets aPoints array is used. This value MUST be in the Point (section 2.1.26) enumeration.

Returns: byte[]

setAbTypes(byte[] value)

public void setAbTypes(byte[] value)

Gets or sets a Count length array of byte values that specifies how each point in the Gets or sets aPoints array is used. This value MUST be in the Point (section 2.1.26) enumeration.

Parameters:

ParameterTypeDescription
valuebyte[]