Skip to main content


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 SchmittFriend
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 Nyssen is currently offline Alexander NyssenFriend
Messages: 244
Registered: July 2009
Location: Lünen
Senior 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: Fri Apr 26 10:31:11 GMT 2024

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

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

Back to the top