Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to create a tranparent color?(to make an image background transparent)
How to create a tranparent color? [message #878628] Tue, 29 May 2012 16:15 Go to next message
Karl Schmitt is currently offline Karl Schmitt
Messages: 7
Registered: February 2012
Junior Member
Dear Experts,

in order to rotate a text its posible to use
the ImageUtilities.createRotatedImageOfString utility, however,
the method requires a background color which
should be transparent in my case, does anybody
know how to create a transparent background color
in the GEF/draw2d realm?

Thanks in advance,
Karl
Re: How to create a tranparent color? [message #879076 is a reply to message #878628] Wed, 30 May 2012 13:29 Go to previous message
Alexander Nyßen is currently offline Alexander Nyßen
Messages: 46
Registered: July 2009
Location: Lünen
Member
SWT images provide support for specifying a "transparent pixel". You can take a look here for further details: www.eclipse.org/articles/Article-SWT-images/graphics-resources.html
Previous Topic:Is this a bug? CreateRequest does not extend LocationRequest
Next Topic:Image Figure differences from Eclipse 3.3 to 3.5m5
Goto Forum:
  


Current Time: Sun Sep 21 04:23:58 GMT 2014

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

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