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
New Developer
Moshiko
Posts: 2
Registered: ‎10-16-2008
My Device: Not Specified

a drawRegion Issue

Hi,

I am trying to cut a photo and present one of the pieces on the screen with no success , I am using net.rim.device.api.ui.Graphics package
I tried to use drawRegion but it's showing all of the Image instead of showing the cut area.

Maybe some of you know a drawRegion example or a better way to do that.
Thanks
Moshiko.
BlackBerry Development Advisor
MSohm
Posts: 14,753
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: a drawRegion Issue

Please have a look at this sample, which draws part of an image.

 

How To - Create a Scrollable Image Field
Article Number: DB-00681

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Moshiko
Posts: 2
Registered: ‎10-16-2008
My Device: Not Specified

Re: a drawRegion Issue

looking good ,thanks mark,