Code example for Region

Methods: getBounds

0
    /** 
     * {@inheritDoc}  
     */ 
    @Deprecated 
    public RectShape getBounds() {
        return new RectShape(regionBuffer.getBounds());
    } 
 
    /** 
     * {@inheritDoc}  
     */ 
    public void getBounds(RectShape rect) {
        rect.setRect(regionBuffer.getBounds());
    } 
 
    /** 
     * {@inheritDoc}  
     */ 
    //TODO change more appropriate method 
    public boolean intersects(float x, float y, float width, float height) {
Contextual code suggestions in your IDE  Get Codota for Java