Gradients on rounded rectangles [message #232830] |
Wed, 11 April 2007 02:10  |
Eclipse User |
|
|
|
Has anyone had any experience of adding gradients to
rounded rectangles? They seem to be supported by plain
rectangles but not rounded ones.
Thanks,
Andy
|
|
|
|
Re: Gradients on rounded rectangles [message #233031 is a reply to message #232947] |
Mon, 16 April 2007 10:28  |
Eclipse User |
|
|
|
Thanks Ingo,
I'd thought of doing that, but wasn't sure how to fill the rest with the
appropiate
gradient start and end color. If I filled the rounded rectangle with a
non-gradient
colour, one of the ends would not match. Any thoughts, or even better, a
code
snippet - I'm quite new to Java and GEF!
Cheers,
Andy
"Ingo Koch" <ingo.koch[nospam]@sap.com> wrote in message
news:evo7uq$7q2$1@build.eclipse.org...
>I had good results just painting the gradient in the rectangle "between"
>the corners
> and fill the rest with the appropiate gradient start and end color.
>
>
>
>
>
> "ase" <andye@xactium.com> wrote in message
> news:evhu4g$kgp$1@build.eclipse.org...
>> Has anyone had any experience of adding gradients to
>> rounded rectangles? They seem to be supported by plain
>> rectangles but not rounded ones.
>>
>> Thanks,
>>
>> Andy
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06158 seconds