Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 41
Registered: ‎04-24-2012
My Device: storm
My Carrier: blackberry

Drawing gradients in custom fields

Hi im trying to do draw vertical, horizontal gradients in a custom field using drawGradientFilledRect but I can only do a vertical gradient how can i make the gradient into horizontal or diagonal.

Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold
My Carrier: Vodafone India

Re: Drawing gradients in custom fields

If you had searched, you could have find many examples and post on gradient.

Check this thread by peter_strange


If you find it useful then mark this thread as solved

Thank you
warm regards
Mohammed Aziz