Java examples for 2D Graphics:Transform

Click the following links for the tutorial for 2D Graphics and Transform.

- Scaling, Shearing, Translating, and Rotating a Shape
- This returns an affine transform which will rotate the contents of the window by -90 degrees.
- This returns an affine transform which will center the given point in the window.
- This modifies the supplied affine transform so that the rectangle given by real Bounds will fit exactly inside the rectangle given by window Bounds.
- This modifies the supplied affine transform so that the rectangle given by real Bounds will fit inside of the rectangle given by window Bounds.
- This returns an affine transform which is appropriate for modifying an existing one for a change in the window size.
- This returns an affine transform which will flip the horizontal axis around.
- This returns an affine transform which will flip the vertical axis around.
- This returns an affine transform which will keep the center point in the center and scale the x- and y-directions uniformly by the factor given.
- render Rotated Object