@ Override protected boolean prepare ( final Context2D context , final Attributes attr , final double alpha ) { final double w = attr . getWidth ( ) ; final double h = attr . getHeight ( ) ; if ( ( w > 0 ) && ( h > 0 ) ) { context . beginPath ( ) ; context . ellipse ( 0 , 0 , w / 2 , h / 2 , 0 , 0 , Math . PI * 2 , true ) ; context . closePath ( ) ; return true ; } return false ; }
Draws this ellipse .