So what else is new in this release?
- All shapes that support an angle property for quick rotation will now allow negative angles to be set, previously only positive values were allowed; this is another suggestion made by Dean
- There are 7 new shapes compared to release 0.1 (version 0.2 was not released officially but it is used by GraphicsBuilder 0.6.1): Almond, Asterisk, Astroid, Donut, Fan, Lauburu, ReuleauxTriangle; for a total of 16 custom shapes that can be used on regular Java2D, SceneGraph, JavaFX and Groovy graphics.
![]() Almond |
![]() Arrow |
![]() Asterisk |
![]() Astroid |
![]() Balloon |
![]() Cross |
![]() Donut |
![]() Fan |
![]() Lauburu |
![]() MultiRoundRectangle |
![]() Rays |
![]() RegularPolygon |
![]() ReuleauxTriangle |
![]() RoundPin |
![]() Star |
![]() Triangle |
Asterisk is a generalization of Cross. Fan is the second composite shape (the first one being Donut as it can also render regular polygons) because it requires a base shape to be used as the outline for each blade, the image shown here used an Almond shape as the blade prototype. The project page has links to examples for both versions (geom: Java2D, scene: SceneGraph) which can help you get started.
Feedback is always appreciated.