FillRect

ICanvasRenderingContext2D.FillRect method

Draws a filled rectangle at (x, y) position whose size is determined by width and height.

public void FillRect(double x, double y, double w, double h)
Parameter Type Description
x Double The x axis of the coordinate for the rectangle starting point.
y Double The y axis of the coordinate for the rectangle starting point.
w Double The rectangle’s width.
h Double The rectangle’s height.

See Also