GraphicsPathAddBezier Method |
Adds a bezier curve to the path with two control points
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void AddBezier(
PointF start,
PointF control1,
PointF control2,
PointF end
)
Public Sub AddBezier (
start As PointF,
control1 As PointF,
control2 As PointF,
end As PointF
)
abstract AddBezier :
start : PointF *
control1 : PointF *
control2 : PointF *
end : PointF -> unit
override AddBezier :
start : PointF *
control1 : PointF *
control2 : PointF *
end : PointF -> unit
Parameters
- start
- Type: Eto.DrawingPointF
Starting point of the bezier curve - control1
- Type: Eto.DrawingPointF
First control point of the curve - control2
- Type: Eto.DrawingPointF
Second control point of the curve - end
- Type: Eto.DrawingPointF
Ending point of the bezier curve
Implements
IGraphicsPathAddBezier(PointF, PointF, PointF, PointF)Remarks
If the current figure is not closed, it will connect with the start of the bezier curve.
The current position will be moved to the end point.
See Also