Table of Contents

Method DrawBezier

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

DrawBezier(Pen, PointD, PointD, PointD, PointD)

Draws a Bezier spline defined by four PointD structures.

void DrawBezier(Pen pen, PointD startPoint, PointD controlPoint1, PointD controlPoint2, PointD endPoint)

Parameters

pen Pen

Pen that determines the color, width, and style of the curve.

startPoint PointD

PointD structure that represents the starting point of the curve.

controlPoint1 PointD

PointD structure that represents the first control point for the curve.

controlPoint2 PointD

PointD structure that represents the second control point for the curve.

endPoint PointD

PointD structure that represents the ending point of the curve.