Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Hatching
Hatching [message #151202] Thu, 16 September 2004 10:05 Go to next message
David Sciamma is currently offline David SciammaFriend
Messages: 78
Registered: July 2009
Member
Hi,

Is it possible to draw an hatched figure with draw2d ?
Or could we do like in awt ?
Graphics2D g2d = (Graphics2D)g;
g2d.setPaint(hatchedImage);
g2d.fillPolygon(polygone);

Thanks

--
David Sciamma

Anyware Technologies - http://www.anyware-tech.com
Re: Hatching [message #151226 is a reply to message #151202] Thu, 16 September 2004 14:58 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Draw2d just offset SWT functionality. I don't see how you could do this,
but you might ask on the SWT forum and/or open an SWT feature request.

"David Sciamma" <david.sciamma@anyware-tech.com> wrote in message
news:cibo9e$as5$1@eclipse.org...
> Hi,
>
> Is it possible to draw an hatched figure with draw2d ?
> Or could we do like in awt ?
> Graphics2D g2d = (Graphics2D)g;
> g2d.setPaint(hatchedImage);
> g2d.fillPolygon(polygone);
>
> Thanks
>
> --
> David Sciamma
>
> Anyware Technologies - http://www.anyware-tech.com
Previous Topic:PolygonFigure
Next Topic:Drop Down List in a GEF Editor
Goto Forum:
  


Current Time: Tue Jan 14 17:45:32 GMT 2025

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

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

Back to the top