Creates a path for a rectangle at position (x, y) with a size that is determined by width and height.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxpublic void Rect(
double x,
double y,
double w,
double h
)
Public Sub Rect (
x As Double,
y As Double,
w As Double,
h As Double
)
public:
virtual void Rect(
double x,
double y,
double w,
double h
) sealed
abstract Rect :
x : float *
y : float *
w : float *
h : float -> unit
override Rect :
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.
Implements
ICanvasPathMethodsRect(Double, Double, Double, Double)
See Also