ICanvasPathMethods.Rect

ICanvasPathMethods.Rect method

Creates a path for a rectangle at position (x, y) with a size that is determined by width and height.

public void Rect(double x, double y, double w, double h)
ParameterTypeDescription
xDoubleThe x axis of the coordinate for the rectangle starting point.
yDoubleThe y axis of the coordinate for the rectangle starting point.
wDoubleThe rectangle’s width.
hDoubleThe rectangle’s height.

See Also