ICanvas.Rect

ICanvas.Rect method

Adds a rectangle to the current path.

public void Rect(float x, float y, float width, float height)
ParameterTypeDescription
xSingleThe x-coordinate of the top-left corner of the rectangle.
ySingleThe y-coordinate of the top-left corner of the rectangle.
widthSingleThe width of the rectangle.
heightSingleThe height of the rectangle.

See Also