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 Contributor
Posts: 9
Registered: ‎11-08-2010
My Device: Not Specified

Re: help rotating image

hahaaaaa!!! 

 Thanks very much for your help guys! I did it. (We did it). Here is how:

 

The BlackBerry JDE gave me hard time, not only once but several time. Yesterday it stopped working completely. So I installed the Eclipse Plugin, created my Java files, added the ImageManipulator file and added the following code:

 

 

ImageManipulator imNu = new ImageManipulator(brick);            
            imNu.setBitmap(brick);
            ImageManipulator.rotate(brick, 40);
            imNu.rotate(brick, 40);
            imNu.transformAndPaintBitmap(graphics);

 

 

As you can see, I played around with the methods of ImageManipulator. 

So thank you!

Highlighted
Developer
Posts: 201
Registered: ‎12-17-2010
My Device: Not Specified

help rotating image

Hi,

I have one image like Arrow.

i want to rotate it from y co-ordinate.x co-ordinate is fix.

i just want to change the value of y co-ordinates.

so how could i do it?

Thank you for reply.......