AddBezier()

GraphicsPath::AddBezier(const Point&, const Point&, const Point&, const Point&) method

Adds the specified cubic Bezier curve to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddBezier(const Point &pt1, const Point &pt2, const Point &pt3, const Point &pt4)

Arguments

ParameterTypeDescription
pt1const Point&The starting point of the curve to add
pt2const Point&The 1-st control point of the curve to add
pt3const Point&The 2-nd control point of the curve to add
pt4const Point&The ending point of the curve to add

GraphicsPath::AddBezier(const PointF&, const PointF&, const PointF&, const PointF&) method

Adds the specified cubic Bezier curve to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddBezier(const PointF &pt1, const PointF &pt2, const PointF &pt3, const PointF &pt4)

Arguments

ParameterTypeDescription
pt1const PointF&The starting point of the curve to add
pt2const PointF&The 1-st control point of the curve to add
pt3const PointF&The 2-nd control point of the curve to add
pt4const PointF&The ending point of the curve to add

GraphicsPath::AddBezier(int, int, int, int, int, int, int, int) method

Adds the specified cubic Bezier curve to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddBezier(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)

Arguments

ParameterTypeDescription
x1intThe X coordinate of the starting point of the curve to add
y1intThe Y coordinate of the starting point of the curve to add
x2intThe X coordinate of the 1-st control point of the curve to add
y2intThe Y coordinate of the 1-st control point of the curve to add
x3intThe X coordinate of the 2-nd control point of the curve to add
y3intThe Y coordinate of the 2-nd control point of the curve to add
x4intThe X coordinate of the ending point of the curve to add
y4intThe Y coordinate of the ending point of the curve to add

GraphicsPath::AddBezier(float, float, float, float, float, float, float, float) method

Adds the specified cubic Bezier curve to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)

Arguments

ParameterTypeDescription
x1floatThe X coordinate of the starting point of the curve to add
y1floatThe Y coordinate of the starting point of the curve to add
x2floatThe X coordinate of the 1-st control point of the curve to add
y2floatThe Y coordinate of the 1-st control point of the curve to add
x3floatThe X coordinate of the 2-nd control point of the curve to add
y3floatThe Y coordinate of the 2-nd control point of the curve to add
x4floatThe X coordinate of the ending point of the curve to add
y4floatThe Y coordinate of the ending point of the curve to add

See Also