Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to set gradient color from left-top to right-bottom??
How to set gradient color from left-top to right-bottom?? [message #466529] Wed, 11 January 2006 04:12 Go to next message
Johnson is currently offline Johnson
Messages: 13
Registered: July 2009
Junior Member
In the SWT, it provides fillGradientRectangle() which allow us to set up
the gradient color horizontally or vertically.
What if I need to set up the gradient from left-top to right-bottom? Or set
up the gradient along certain direction?

Thanks
Re: How to set gradient color from left-top to right-bottom?? [message #466796 is a reply to message #466529] Tue, 17 January 2006 19:08 Go to previous message
Steve Northover is currently offline Steve Northover
Messages: 1636
Registered: July 2009
Senior Member
Investigate the class Pattern.

"Johnson" <ljshuenn@realtek.com.tw> wrote in message
news:dq20j6$kpk$1@utils.eclipse.org...
> In the SWT, it provides fillGradientRectangle() which allow us to set up
> the gradient color horizontally or vertically.
> What if I need to set up the gradient from left-top to right-bottom? Or
set
> up the gradient along certain direction?
>
> Thanks
>
>
Previous Topic:Get table data from SWT app to EXCEL
Next Topic:[HELP] Linux - table/tree
Goto Forum:
  


Current Time: Sat Oct 25 20:58:56 GMT 2014

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

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