GraphicsPath.AddBezier
Contents
[
Hide
]AddBezier(PointF, PointF, PointF, PointF)
Adds a cubic Bézier curve to the current figure.
public void AddBezier(PointF pt1, PointF pt2, PointF pt3, PointF pt4)
Parameter | Type | Description |
---|---|---|
pt1 | PointF | A PointF that represents the starting point of the curve. |
pt2 | PointF | A PointF that represents the first control point for the curve. |
pt3 | PointF | A PointF that represents the second control point for the curve. |
pt4 | PointF | A PointF that represents the endpoint of the curve. |
See Also
- struct PointF
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common
AddBezier(float, float, float, float, float, float, float, float)
Adds a cubic Bézier curve to the current figure.
public void AddBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4,
float y4)
Parameter | Type | Description |
---|---|---|
x1 | Single | The x-coordinate of the starting point of the curve. |
y1 | Single | The y-coordinate of the starting point of the curve. |
x2 | Single | The x-coordinate of the first control point for the curve. |
y2 | Single | The y-coordinate of the first control point for the curve. |
x3 | Single | The x-coordinate of the second control point for the curve. |
y3 | Single | The y-coordinate of the second control point for the curve. |
x4 | Single | The x-coordinate of the endpoint of the curve. |
y4 | Single | The y-coordinate of the endpoint of the curve. |
See Also
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common