Code example for Region

Methods: getBounds

0
    /** 
     * {@inheritDoc}  
     */ 
    @Deprecated 
    public RectShape getBounds() {
        return new RectShape(mRegion.getBounds());
    } 
 
    /** 
     * {@inheritDoc}  
     */ 
    public void getBounds(RectShape rect) {
        rect.setRect(mRegion.getBounds());
    } 
 
    /** 
     * {@inheritDoc}  
     */ 
    public boolean intersects(float x, float y, float width, float height) {
        Region region = new Region(mRegion);
Contextual code suggestions in your IDE  Get Codota for Java