Blackberry setting a clipping region/area

2019-07-28 06:59发布

问题:

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?

回答1:

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