Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Coloring a portion of RectnagleFigure
Coloring a portion of RectnagleFigure [message #227405] Tue, 05 December 2006 08:21 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Centered, fixed-sized diagram with correctly positioned grid and rulers
Next Topic:internationalization
Goto Forum:
  


Current Time: Wed Dec 08 14:05:40 GMT 2021

Powered by FUDForum. Page generated in 0.02049 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top