ICanvasRenderingContext2DStrokeRect 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.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntax void StrokeRect(
double x,
double y,
double w,
double h
)
Sub StrokeRect (
x As Double,
y As Double,
w As Double,
h As Double
)
void StrokeRect(
double x,
double y,
double w,
double h
)
abstract StrokeRect :
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