Welcome!

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

Reply
Contributor
tweethumbs
Posts: 41
Registered: ‎04-24-2012
My Device: storm

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.

Developer
MohammedAziz
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold

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

http://supportforums.blackberry.com/t5/Java-Development/Gradient-Poor-Quality/td-p/778325/highlight/...

If you find it useful then mark this thread as solved

Thank you
warm regards
Mohammed Aziz