question: protected void drawFilledPath ( Canvas c , Path filledPath , int fillColor , int fillAlpha ) { c . save ( ) ; c . clipPath ( filledPath ) ; int color = ( fillAlpha << 24 ) | ( fillColor & 0xffffff ) ; c . drawColor ( color ) ; c . restore ( ) ; }
target:  Draws the provided path in filled mode with the provided color and alpha. Special thanks to Angelo Suzuki (https://github.com/tinsukE) for this.