[ x'] [ m00 m01 m02 ] [ x ] [ m00 * x + m01 * y + m02 ] [ y'] = [ m10 m11 m12 ] [ y ] = [ m10 * x + m11 * y + m12 ] [ 1 ] [ 0 0 1 ] [ 1 ] [ 1 ]Though AffineTransform is often associated with drawing, it is not tied in any way to the Graphics class. It is purely mathematical.
| Tips | Rotating Images |
| Manual Use | Learning More |
| Drawing | Links |
| Mouse Co-ordinates |
Graphics.drawImage will do a simple scale for you, often inadvertently. You don’t need an AffineTransform for that.
You can learn more with a Google search.
| You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | |
| http://mindprod.com/jgloss/affinetransform.html | J:\mindprod\jgloss\affinetransform.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.191.109] | |
| Feedback | You are visitor number 25,147. | |