Click or drag to resize

GraphicsPathExtensionsAddRectangle Method

Adds a rectangle to the path at the specified location

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static void AddRectangle(
	this IGraphicsPath path,
	RectangleF location
)

Parameters

path
Type: Eto.DrawingIGraphicsPath
Path to add the rectangle to
location
Type: Eto.DrawingRectangleF
Location of the rectangle

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