GraphicsPath.AddBezier

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)
ParameterTypeDescription
pt1PointFA PointF that represents the starting point of the curve.
pt2PointFA PointF that represents the first control point for the curve.
pt3PointFA PointF that represents the second control point for the curve.
pt4PointFA PointF that represents the endpoint of the curve.

See Also


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)
ParameterTypeDescription
x1SingleThe x-coordinate of the starting point of the curve.
y1SingleThe y-coordinate of the starting point of the curve.
x2SingleThe x-coordinate of the first control point for the curve.
y2SingleThe y-coordinate of the first control point for the curve.
x3SingleThe x-coordinate of the second control point for the curve.
y3SingleThe y-coordinate of the second control point for the curve.
x4SingleThe x-coordinate of the endpoint of the curve.
y4SingleThe y-coordinate of the endpoint of the curve.

See Also