ICanvasRenderingContext2DFillRect Method |
Draws a filled rectangle at (x, y) position whose size is determined by width and height.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxvoid FillRect(
double x,
double y,
double w,
double h
)
Sub FillRect (
x As Double,
y As Double,
w As Double,
h As Double
)
void FillRect(
double x,
double y,
double w,
double h
)
abstract FillRect :
x : float *
y : float *
w : float *
h : float -> unit
Parameters
- x
- Type: SystemDouble
The x axis of the coordinate for the rectangle starting point. - y
- Type: SystemDouble
The y axis of the coordinate for the rectangle starting point. - w
- Type: SystemDouble
The rectangle's width. - h
- Type: SystemDouble
The rectangle's height.
See Also