Click or drag to resize

GraphicsPathAddRectangle Method

Adds a rectangle to the path

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void AddRectangle(
	float x,
	float y,
	float width,
	float height
)

Parameters

x
Type: SystemSingle
X co-ordinate of the top left of the rectangle
y
Type: SystemSingle
Y co-ordinate of the top left of the rectangle
width
Type: SystemSingle
Width of the rectangle
height
Type: SystemSingle
Height of the rectangle

Implements

IGraphicsPathAddRectangle(Single, Single, Single, Single)
Remarks
Rectangles are separate figures and will not connect to the current or next figure in the path. The starting point of the path will no longer be set after this call.
See Also