IPath.Rect

IPath.Rect method

Adds a rectangle to the path.

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

See Also