jSilhouette provides a collection of Java2D shapes that can be used in several modes
- regular Java2D: as you would with the standard shapes that come with the JDK
- Groovy's GraphicsBuilder: declarative graphics with the Groovy programming language and GraphicsBuilder
- Project SceneGraph: Sun's answer to better Java2D/Swing programming
- JavaFx Script: Sun's tailor made programming language for UI authoring
The current version (0.3.1) includes the following shapes
| Almond | Geom | Scene |
| Arrow | Geom | Scene |
| Asterisk | Geom | Scene |
| Astroid | Geom | Scene |
| Balloon | Geom | Scene |
| Cross | Geom | Scene |
| Donut | Geom | Scene |
| Fan | Geom | Scene |
| Lauburu | Geom | Scene |
| MultiRoundRectangle | Geom | Scene |
| Rays | Geom | Scene |
| RegularPolygon | Geom | Scene |
| ReuleauxTriangle | Geom | Scene |
| RoundPin | Geom | Scene |
| Star | Geom | Scene |
| Triangle | Geom | Scene |
The documentation is a bit scarce right now but you can read additional info at
- GraphicsBuilder's Shapes
- GraphicsBuilder's posts (look for the shape related ones)
Each module includes a demo Ant target that can be used to launch a basic app that demonstrates the shapes in action.