Search code examples
optimizationgraphicsblackberryclipping

Blackberry setting a clipping region/area


In J2ME we have the clipRect() and setClip() to clip a region in the Graphics area. What is the equivalent apis available in BlackBerry and how do we use it?


Solution

  • See the blackberry API. pushRegion() for the clipRect(), don't know of exact setClip replacement.

    http://www.blackberry.com/developers/docs/3.6api/net/rim/device/api/ui/Graphics.html