Matrix3x2d.translation

Set this matrix to be a simple translation matrix in a two-dimensional coordinate system. <p> The resulting matrix can be multiplied against another transformation matrix to obtain an additional translation. <p> In order to apply a translation via to an already existing transformation matrix, use {@link #translate(double, double) translate()} instead.

@see #translate(double, double)

@param x the units to translate in x @param y the units to translate in y @return this

  1. Matrix3x2d translation(double x, double y)
    struct Matrix3x2d
    ref return
    translation
    (
    double x
    ,
    double y
    )
  2. Matrix3x2d translation(Vector2d offset)

Meta