Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- startPoint
- A System.Drawing.PointF which represents the starting point of the bezier curve.
- controlPoint1
- A System.Drawing.PointF which represents the first control point of the bezier curve.
- controlPoint2
- A System.Drawing.PointF which represents the second control point of the bezier curve.
- endPoint
- A System.Drawing.PointF which represents the end point of the bezier curve.
- color
- The System.Drawing.Color of the curve.
The curve starts at StartPoint going toward ControlPoint1 and arrives at EndPoint coming from the direction of ControlPoint2. Usually, it will not pass through ControlPoint1 or ControlPoint2; these points are only there to provide directional information. The distance between StartPoint and ControlPoint1 determines "how long" the curve moves into direction ControlPoint2 before turning towards EndPoint.