I tried to do same way in arcRight() or arcLeft() but I couldnot
able to find the X, Y positions and width & height, can you help me
how to figure out the positions to fill the colors.
this is very urgent, please help me.
thanks
Chander
--- In jurtle-users@yahoogroups.com, Bill Tschumy <bill@o...> wrote:
> 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