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)
  2. void translate(vec2f position)
    struct Canvas
    nothrow @nogc
    void
    translate

Meta