Transform2D.scale constructor

Transform2D.scale(
  1. double sx,
  2. double sy
)

Implementation

factory Transform2D.scale(double sx, double sy) {
  return Transform2D(a: sx, b: 0, c: 0, d: sy, tx: 0, ty: 0);
}