protected Rectangle getRadialMenuBounds (SceneObject scobj)
    {
        Rectangle mbounds = new Rectangle(scobj.bounds);
        Dimension radbox = getObjectRadialSize();
        if (mbounds.width != radbox.width) {
            mbounds.x += (mbounds.width-radbox.width)/2;
            mbounds.width = radbox.width;
        }
        if (mbounds.height != radbox.height) {
            mbounds.y += (mbounds.height-radbox.height)/2;
            mbounds.height = radbox.height;
        }
        return mbounds;
    }
protected Rectangle getRadialMenuBounds ( SceneObject scobj ) { Rectangle mbounds = new Rectangle ( scobj . bounds ) ; Dimension radbox = getObjectRadialSize ( ) ; if ( mbounds . width != radbox . width ) { mbounds . x += ( mbounds . width - radbox . width ) / 2 ; mbounds . width = radbox . width ; } if ( mbounds . height != radbox . height ) { mbounds . y += ( mbounds . height - radbox . height ) / 2 ; mbounds . height = radbox . height ; } return mbounds ; }
Returns an appropriate set of menu bounds for the specified object. Returns a rectangle of
the size specified by {@link #getObjectRadialSize} centered around the object.