Matrix.makeScale constructor
Matrix.makeScale(
- double scale
Sets Matrix to scale by (scale, scale). Returned matrix is:
| scale 0 0 |
| 0 scale 0 |
| 0 0 1 |
@param scale horizontal and vertical scale factor @return Matrix with scale
Implementation
factory Matrix.makeScale(double scale) => Matrix.makeScaleXY(sx: scale, sy: scale);