GraphicsPathExtensionsAddCurve Method (IGraphicsPath, Single, PointF) |
Adds a curve that intersects with the specified points to the path with the given tension
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static void AddCurve(
this IGraphicsPath path,
float tension,
params PointF[] points
)
<ExtensionAttribute>
Public Shared Sub AddCurve (
path As IGraphicsPath,
tension As Single,
ParamArray points As PointF()
)
[<ExtensionAttribute>]
static member AddCurve :
path : IGraphicsPath *
tension : float32 *
points : PointF[] -> unit
Parameters
- path
- Type: Eto.DrawingIGraphicsPath
Path to add the curve to - tension
- Type: SystemSingle
Tension between points in the curve. Should be between 0 (no curve) and 1 (more curve) - points
- Type: Eto.DrawingPointF
Points that intersect with the curve
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IGraphicsPath. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also