public class EmfPolyBezier extends EmfDrawingRecordType
The EMR_POLYBEZIER record specifies one or more Bezier curves.
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
Constructor and Description |
---|
EmfPolyBezier(EmfRecord source)
Initializes a new instance of the
EmfPolyBezier class. |
Modifier and Type | Method and Description |
---|---|
Point[] |
getAPoints()
Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15)
that specifies the endpoints and control points of the Bezier curves, in logical units.
|
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.
|
int |
getCount()
Gets or sets a 32-bit unsigned integer that specifies the number of points in the aPoints
array.
|
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 endpoints and control points of the Bezier curves, in logical units.
|
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.
|
void |
setCount(int value)
Gets or sets a 32-bit unsigned integer that specifies the number of points in the aPoints
array.
|
getSize, getType, setSize, setType
deepClone_internalized
public EmfPolyBezier(EmfRecord source)
Initializes a new instance of the EmfPolyBezier
class.
source
- The source.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.
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.
public int getCount()
Gets or sets a 32-bit unsigned integer that specifies the number of points in the aPoints array. This value MUST be one more than three times the number of curves to be drawn, because each Bezier curve requires two control points and an endpoint, and the initial curve requires an additional starting point.
public void setCount(int value)
Gets or sets a 32-bit unsigned integer that specifies the number of points in the aPoints array. This value MUST be one more than three times the number of curves to be drawn, because each Bezier curve requires two control points and an endpoint, and the initial curve requires an additional starting point.
public Point[] getAPoints()
Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the endpoints and control points of the Bezier curves, in logical units.
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 endpoints and control points of the Bezier curves, in logical units.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.