public void transform(AffineTransform Tx){
  mGraphics.transform(Tx);
}

public void transform ( AffineTransform Tx ) { mGraphics . transform ( Tx ) ; }
composes a transform object with the transform in this graphics2d according to the rule last - specified - first - applied . if the currrent transform is cx , the result of composition with tx is a new transform cx ' . cx ' becomes the current transform for this graphics2d . transforming a point p by the updated transform cx ' is equivalent to first transforming p by tx and then transforming the result by the original transform cx . in other words , cx ' ( p ) = cx ( tx ( p ) ) . a copy of the tx is made , if necessary , so further modifications to tx do not affect rendering .
