ICanvasRenderingContext2D.StrokeRect

ICanvasRenderingContext2D.StrokeRect method

Paints a rectangle which has a starting point at (x, y) and has a w width and an h height onto the canvas, using the current stroke style.

public void StrokeRect(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