Click or drag to resize

GraphicsPathExtensionsAddLine Method

Adds a line to the path

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static void AddLine(
	this IGraphicsPath path,
	PointF start,
	PointF end
)

Parameters

path
Type: Eto.DrawingIGraphicsPath
Path to add the line to
start
Type: Eto.DrawingPointF
Starting point for the line
end
Type: Eto.DrawingPointF
Ending point for the line

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