## IDevice.AddRect method

Appends a rectangle to the current path as a complete subpath.

```csharp
public void AddRect(RectangleF rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rect | RectangleF | A rectangle to draw. |

### See Also

* interface [IDevice](../)
* namespace [Aspose.Html.Rendering](../../../aspose.html.rendering/)
* assembly [Aspose.HTML](../../../)
