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

Native Development

Reply
Contributor
Posts: 13
Registered: ‎06-17-2013
My Device: Z10, STL100-2
My Carrier: Telenor

Re: Picture editor; how to track touch

Also - 

You could paint the mask rather easily by simply getting the X and Y coordinates from the touch-point (There's tutorials for this as well developer.blackberry.com) and assigning the appropriate amount of pixels their color.

You could for instance select   pixel[x][y] = color, pixel[x+1][y] = color etc.. Or applying another brushmask at the X/Y position etc.

 

As said - check out developer.blackberry.com - there's a LOT of great information available there. Smiley Happy