public static void restoreAntiAliasing ( Graphics2D gfx , Object rock ) { if ( rock != null ) { gfx . setRenderingHints ( ( RenderingHints ) rock ) ; } }
Restores anti - aliasing in the supplied graphics context to its original setting .