ICanvasRenderingContext2D.Translate
ICanvasRenderingContext2D.Translate method
Adds a translation transformation by moving the canvas and its origin x horzontally and y vertically on the grid.
public void Translate(double x, double y)
Parameter | Type | Description |
---|---|---|
x | Double | Distance to move in the horizontal direction. |
y | Double | Distance to move in the vertical direction. |
See Also
- interface ICanvasRenderingContext2D
- namespace Aspose.Html.Dom.Canvas
- assembly Aspose.HTML