Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] fillGradient in a RoundedRectangle

You can, however, for anything other than simple rectangles you have to creating a clipping region and then fill the rectangle bounding the clipping region.
Take a look at some of the SWT snippets (it is done the same way in SWT).

cheers,
ian


one eighty-three wrote:
hi,
is it possible to nicely and cleanly fill the gradient in a RoundedRectangle? i tried implementing the fillGradient in the fillShape method but the fillGradient fills a normal square rectangle. i'm using 3.2 version thanks,
janice
------------------------------------------------------------------------

_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gef-dev



Back to the top