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 custom paths in blackberry java

Hi im trying to port a app in blackberry java the problem is that Im trying to draw custom paths. In our implemntation in andriod and gtk theres a method called arcTo that arcs the line that you are drawing. I tried to use the drawFilledPath(int[] xPts, int[] yPts, byte[] pointTypes, int[] offsets) in the graphics class but I dont think that you can arc a line using x and y only without a angle. Is there anyway to do this? Tnx in advance for your advice

Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Drawing custom paths in blackberry java

you are limited to the methods of the graphics class - otherwise you'll have to implement it manually using one of the low level draw methods in there.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter