---
title: "ICanvasRenderingContext2D.Rotate"
url: "https://reference.aspose.com/html/net/aspose.html.dom.canvas/icanvasrenderingcontext2d/rotate/"
product: "Aspose.HTML for .NET API Reference"
description: "ICanvasRenderingContext2D Rotate method. Adds a rotation to the transformation matrix. The angle argument represents a clockwise rotation angle and is expressed in radians"
---

## ICanvasRenderingContext2D.Rotate method

Adds a rotation to the transformation matrix. The angle argument represents a clockwise rotation angle and is expressed in radians.

```csharp
public void Rotate(double angle)
```

| Parameter | Type | Description |
| --- | --- | --- |
| angle | Double | Represents a clockwise rotation angle expressed in radians. |

### See Also

* interface [ICanvasRenderingContext2D](../)
* namespace [Aspose.Html.Dom.Canvas](../../../aspose.html.dom.canvas/)
* assembly [Aspose.HTML](../../../)
