@ Override protected boolean prepare ( final Context2D context , final Attributes attr , final double alpha ) { context . save ( ) ; if ( false == context . isSelection ( ) ) { context . setGlobalAlpha ( alpha ) ; if ( attr . hasShadow ( ) ) { doApplyShadow ( context , attr ) ; } } getImageProxy ( ) . drawImage ( context ) ; context . restore ( ) ; return false ; }
Draws the image on the canvas .