## Device<TGraphicContext,TRenderingOptions>.AddRect method

Appends a rectangle to the current path as a complete subpath.

```csharp
public virtual void AddRect(RectangleF rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rect | RectangleF | A rectangle to draw. |

### See Also

* class [Device&lt;TGraphicContext,TRenderingOptions&gt;](../)
* namespace [Aspose.Html.Rendering](../../../aspose.html.rendering/)
* assembly [Aspose.HTML](../../../)
