Canvas.translate

Adds a translation transformation by moving the canvas and its origin x horizontally and y vertically on the grid.

  1. void translate(float x, float y)
    struct Canvas
    public nothrow @nogc
    void
    translate
    (
    float x
    ,
    float y
    )
  2. void translate(vec2f position)

Meta