* Introduction: This is a introductory program. This illustrates how a liner gradient of colors can be achieved. Modify the code for different colors and different stops.
* Shapes: This illustrated how to create basic shapes such as circles, rectangles and so on with different fill colors, strokes and so on. Modify the code for different values.
* Painting: This is similar to the example above with different fill colors to experiment with.
* Transformations: This illustrates how to use the transform function. You can do Translate, Rotate, Scale or Skew.
* Groups: This illustrated how to have multiple Graphical objects by using the Group keyword. You could add more Graphical components here.
* Swing Components: This illustrates Swing components by overlaying text fields and so on to the previous example.
* Images: This program illustrates how the same transformations used in the earlier example can be used on a graphical object.
* Transparency: This program illustrates how to use opacity which takes a value from 0 to 1, 0 being transparent and 1 being opaque. By default, objects are opaque.
* Filter effects: This program illustrates the usage of the filters such as Shadow, Blur, Noise and ShapeBurst.
* Input events: This program illustrates how to capture input events and details associated with the event such as onMouseClicked and so on.
* Areas: This program illustrates how to Add, Subtract, Intersect and XOR areas.
* Clipping: This program illustrates how you can clip 2D objects using other objects.
* User-defined Graphics Objects: This program illustrates how you can cretate user-defined objects.
* Animation: The final program in the tutorial illustrates how to use dur in conjunction with transform to animate objects. You could try to combine some animations such as animating both horizontally and vertically.
Sunday, February 15, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment