EmfPolyBezier16

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

The EMR_POLYBEZIER16 record specifies one or more Bezier curves. The curves are drawn using the current pen.

Cubic Bezier curves are defined using the endpoints and control points specified by the aPoints field. The first curve is drawn from the first point to the fourth point, using the second and third points as control points. Each subsequent curve in the sequence needs exactly three more points: the ending point of the previous curve is used as the starting point, the next two points in the sequence are control points, and the third is the ending point. The cubic Bezier curves SHOULD be drawn using the current pen

Constructors

ConstructorDescription
EmfPolyBezier16(EmfRecord source)Initializes a new instance of the EmfPolyBezier16 class.
EmfPolyBezier16()Initializes a new instance of the EmfPolyBezier16 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 PointS objects, specified in [MS-WMF] section 2.2.2.16, which specifies the array of points.
setAPoints(Point[] value)Gets or sets a Count length array of WMF PointS objects, specified in [MS-WMF] section 2.2.2.16, which specifies the array of points.

EmfPolyBezier16(EmfRecord source)

public EmfPolyBezier16(EmfRecord source)

Initializes a new instance of the EmfPolyBezier16 class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfPolyBezier16()

public EmfPolyBezier16()

Initializes a new instance of the EmfPolyBezier16 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 PointS objects, specified in [MS-WMF] section 2.2.2.16, which specifies the array of points.

Returns: com.aspose.imaging.Point[]

setAPoints(Point[] value)

public void setAPoints(Point[] value)

Gets or sets a Count length array of WMF PointS objects, specified in [MS-WMF] section 2.2.2.16, which specifies the array of points.

Parameters:

ParameterTypeDescription
valuePoint[]