Draws a star shape. A star is defined by two radii and a number of branches. Each branch spans between the two radii. The inner radius is the distance between the center of the star and the origin of the branches. The outer radius is the distance between the center of the star and the tips of the branches.
Requires graphicsbuilder-ext-swingx and swingx in classpath.
Can not be equal or bigger than or
Can not be equal or smaller than ir
Can not be less than 3 2
star( x: 30, y: 30, ir: 50, or: 80, count: 5, borderColor: 'darkGreen', borderWidth: 2, fill: 'lime' )