GraphicsPathAddCurve Method |
Adds a curve that intersects with the specified points to the path
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void AddCurve(
IEnumerable<PointF> points,
float tension = 0.5f
)
Public Sub AddCurve (
points As IEnumerable(Of PointF),
Optional tension As Single = 0.5F
)
abstract AddCurve :
points : IEnumerable<PointF> *
?tension : float32
(* Defaults:
let _tension = defaultArg tension 0.5f
*)
-> unit
override AddCurve :
points : IEnumerable<PointF> *
?tension : float32
(* Defaults:
let _tension = defaultArg tension 0.5f
*)
-> unit
Parameters
- points
- Type: System.Collections.GenericIEnumerablePointF
Points to calculate the curve - tension (Optional)
- Type: SystemSingle
Tension between points in the curve. Should be between 0 (no curve) and 1 (more curve)
Implements
IGraphicsPathAddCurve(IEnumerablePointF, Single)Remarks
Each point in the list will fall on the line based on the tension parameter
See Also