Coloring a portion of RectnagleFigure [message #227405] |
Tue, 05 December 2006 08:21 |
Eclipse User |
|
|
|
Originally posted by: kathy.abcsolutions.com
Hi
Can I paint a certain area of the RectangleFigure ?
For example, there is a RectangleFigure object of size w=300 and h=50
located at x=10 and y=100. I want to paint area from x=50 till x=200 with
y=100. This area will be part of the RectangleFigure. Is it possible to do
it, and if yes then how??
Thanks!
Kris
|
|
|
Re: Coloring a portion of RectnagleFigure [message #227643 is a reply to message #227405] |
Fri, 08 December 2006 22:13 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
Yes. Override fillShape().
"Kris" <kathy@abcsolutions.com> wrote in message
news:cd501fd59c746f3c9c97227a3b7d5ad4$1@www.eclipse.org...
> Hi
>
> Can I paint a certain area of the RectangleFigure ? For example, there is
> a RectangleFigure object of size w=300 and h=50 located at x=10 and y=100.
> I want to paint area from x=50 till x=200 with y=100. This area will be
> part of the RectangleFigure. Is it possible to do it, and if yes then
> how??
>
> Thanks!
> Kris
>
|
|
|
Powered by
FUDForum. Page generated in 0.03388 seconds