Affine Transforms in Java2D

title page &
other versions

.

 

4. Try It

The Affine Transform Explorer will let you set up sequences of affine transforms and see the effect they have on drawing.  It provides animated display of the transformation :

lesson.gif (5303 bytes)

Since you are reading the version of this lesson with no embedded applets, you'll have to run the applet yourself.  You will need either  the JRE 1.2 or the JDK 1.2 installed on your machine.

To run the applet, type the following at a command prompt:
    appletviewer http://www.glyphic.com/transform/applet/4app.html

If you prefer, you can download the jar file:
    TransformExplorer.jar -- 64k bytes

...and then run it with:
    java -cp TransformExplorer.jar TransformLesson

The only difference is that running it as an application will run it with your machines's native look and feel.

Affine Transform Lesson
1. Introduction
2. Ordering
3. Ordering, Part II
4. Try It
5. Graphics2D
6. AffineTransform
7. Wiggly Text
8. Code Examples
9. Links & Credits
Back ] Next ]

 

Back ] Next ]
 
pixel-008000.gif (807 bytes)
Copyright 1999
Glyphic Technology