setUvTransform method
Implementation
Matrix3 setUvTransform(
num tx, num ty, num sx, num sy, num rotation, num cx, num cy) {
final c = Math.cos(rotation);
final s = Math.sin(rotation);
set(sx * c, sx * s, -sx * (c * cx + s * cy) + cx + tx, -sy * s, sy * c,
-sy * (-s * cx + c * cy) + cy + ty, 0, 0, 1);
return this;
}