private Shape decodeInterior ( int width , int height ) { path . reset ( ) ; path . moveTo ( 1 , 1 ) ; path . lineTo ( width - 2 , 1 ) ; path . lineTo ( width - 2 , height - 3 ) ; path . lineTo ( width - 3 , height - 2 ) ; path . lineTo ( 3 , height - 2 ) ; path . lineTo ( 2 , height - 3 ) ; path . closePath ( ) ; return path ; }
Create the button interior shape