Path2DRect Method
Creates a path for a rectangle at position (x, y) with a size that is determined by width and height.

Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
public void Rect(
	double x,
	double y,
	double w,
	double h
)

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