Skip to main content


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 JohnsonFriend
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 NorthoverFriend
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: Sun Dec 08 19:53:08 GMT 2024

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

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

Back to the top