EmfPolyline

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

The EMR_POLYLINE record specifies a series of line segments by connecting the points in the specified array.

Constructors

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

Methods

MethodDescription
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.
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.
getAPoints()Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the point data, in logical units.
setAPoints(Point[] value)Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the point data, in logical units.

EmfPolyline(EmfRecord source)

public EmfPolyline(EmfRecord source)

Initializes a new instance of the EmfPolyline class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfPolyline()

public EmfPolyline()

Initializes a new instance of the EmfPolyline class.

getBounds()

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.

Returns: Rectangle

setBounds(Rectangle value)

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.

Parameters:

ParameterTypeDescription
valueRectangle

getAPoints()

public Point[] getAPoints()

Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the point data, 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 ([MS-WMF] section 2.2.2.15) that specifies the point data, in logical units.

Parameters:

ParameterTypeDescription
valuePoint[]