rotateByCenterDegrees method
Rotates by angleDegrees
degrees (0 to 360 one turn), clockwise.
The axis of rotation will be the center of the object with the given size.
Implementation
Matrix4Transform rotateByCenterDegrees(double angleDegrees, Size size) =>
rotateByCenter(_toRadians(angleDegrees), size);