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)
ParameterTypeDescription
xDoubleDistance to move in the horizontal direction.
yDoubleDistance to move in the vertical direction.

See Also