ICanvasRenderingContext2DTranslate Method |
Adds a translation transformation by moving the canvas and its origin x horzontally and y vertically on the grid.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxvoid Translate(
double x,
double y
)
Sub Translate (
x As Double,
y As Double
)
void Translate(
double x,
double y
)
abstract Translate :
x : float *
y : float -> unit
Parameters
- x
- Type: SystemDouble
Distance to move in the horizontal direction. - y
- Type: SystemDouble
Distance to move in the vertical direction.
See Also