Path.DrawRectangle Method (Single, Single, Single, Single)

Adds a rectangle defined by a pair of coordinates, a height, and a width to the path.

Namespace: Aurigma.GraphicsMill.AdvancedDrawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void DrawRectangle(
	float x,
	float y,
	float width,
	float height
)

Parameters

x

Type: System.Single

The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
y

Type: System.Single

The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
width

Type: System.Single

The width of the bounding rectangle that defines the ellipse.
height

Type: System.Single

The height of the bounding rectangle that defines the ellipse.

See Also

Reference

Manual