Click or drag to resize

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
public static void AddCurve(
	this IGraphicsPath path,
	float tension,
	params PointF[] points


Type: Eto.DrawingIGraphicsPath
Path to add the curve to
Type: SystemSingle
Tension between points in the curve. Should be between 0 (no curve) and 1 (more curve)
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