createTransform
fun createTransform(box: Rectangle2D, scaleX: Float = 1.0f, scaleY: Float = 1.0f, rotationZ: Float = 0.0f): AffineTransform
The Java2D matrix: scale first, then rotate in degrees around this origin in box. Positive rotationZ turns clockwise on screen. The returned transform belongs to the caller.