public static AffineTransform GetRotateInstance(float angle, float x, float y) { var t = new AffineTransform(); t.SetToRotation(angle, x, y); return(t); }