Code example for Drawable

Methods: getTransparentRegion

0
            return mWrapped.getOpacity();
        } 
 
        @Override 
        public Region getTransparentRegion() {
            return mWrapped.getTransparentRegion();
        } 
 
        @Override 
        protected boolean onStateChange(int[] state) {
            mWrapped.setState(state);
            return super.onStateChange(state);
        } 
 
        @Override 
        protected void onBoundsChange(Rect bounds) {
            super.onBoundsChange(bounds);
            mWrapped.setBounds(bounds);
        } 
 
        @Override