Mat2D.fromScale constructor

Mat2D.fromScale(
  1. double x,
  2. double y
)

Implementation

Mat2D.fromScale(double x, double y)
    : _buffer = Float32List.fromList([x, 0, 0, y, 0, 0]);