That's going to be a bit tricky to do. Turtle Graphics is designed
mainly for line drawing, not for filing areas. You would probably be
better off replacing the arcRight and arcLeft methods in Flower with
the fillArc method of java.awt.Graphics. You can get the Graphics
object using the Turtle method getGraphics().
On Jun 28, 2005, at 12:44 PM, chander2010 wrote:
> Hi All
>
> I need to fill in each petal with different colors in Flower.java
> example. i can draw each petal with different colors, but I couldn't
> able to fill colors. any body can help me.
>
> thanks in advance
> chander
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
--
Bill Tschumy
Otherwise -- Austin, TX
http://www.otherwise.com