Skip to main content



      Home
Home » Eclipse Projects » GEF » SWT Graphics + gradient colors for shapes
SWT Graphics + gradient colors for shapes [message #143801] Wed, 21 July 2004 14:11 Go to next message
Eclipse UserFriend
Originally posted by: ocampesato.yahoo.com

Hello:

I'm trying to find a way to use the color gradient functionality
that's available in the CLabel class so that I can apply color
gradients to ellipses, polygons, and so forth. Does anyone have
a simple example? Thanks!

Regards,

Oswald
Re: SWT Graphics + gradient colors for shapes [message #143832 is a reply to message #143801] Wed, 21 July 2004 17:29 Go to previous messageGo to next message
Eclipse UserFriend
You might want to try the SWT newsgroup.

"Oswald Campesato" <ocampesato@yahoo.com> wrote in message
news:cdmbkk$gre$1@eclipse.org...
> Hello:
>
> I'm trying to find a way to use the color gradient functionality
> that's available in the CLabel class so that I can apply color
> gradients to ellipses, polygons, and so forth. Does anyone have
> a simple example? Thanks!
>
> Regards,
>
> Oswald
>
>
>
>
Re: SWT Graphics + gradient colors for shapes [message #143899 is a reply to message #143801] Thu, 22 July 2004 07:54 Go to previous message
Eclipse UserFriend
Hi Oswald,

you can have a look at the following link:
http://www-106.ibm.com/developerworks/java/library/j-2dswt/

It shows another technique to use gradient in SWT/Draw 2d by reusing the
Java2D API. Maybe it can help you...

Yannick

Oswald Campesato wrote:

> Hello:
>
> I'm trying to find a way to use the color gradient functionality
> that's available in the CLabel class so that I can apply color
> gradients to ellipses, polygons, and so forth. Does anyone have
> a simple example? Thanks!
>
> Regards,
>
> Oswald
Previous Topic:Can I position PolylineConnection end point anywhere on the Figure ( ie, inside the boundary of Figu
Next Topic:Layout Best Practice?
Goto Forum:
  


Current Time: Wed Jun 18 16:08:30 EDT 2025

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

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

Back to the top