Matrix2d.scaling

Set this matrix to be a simple scale matrix, which scales all axes uniformly by the given factor. <p> The resulting matrix can be multiplied against another transformation matrix to obtain an additional scaling. <p> In order to post-multiply a scaling transformation directly to a matrix, use {@link #scale(double) scale()} instead.

@see #scale(double)

@param factor the scale factor in x and y @return this

  1. Matrix2d scaling(double factor)
    struct Matrix2d
    ref public return
    scaling
    (
    double factor
    )
  2. Matrix2d scaling(double x, double y)
  3. Matrix2d scaling(Vector2d xy)

Meta