Class RenderingUtils
- java.lang.Object
-
- org.pushingpixels.flamingo.internal.utils.RenderingUtils
-
public class RenderingUtils extends Object
Utilities to install desktop rendering hints for correctly rasterizing texts.
-
-
Constructor Summary
Constructors Constructor Description RenderingUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map
installDesktopHints(Graphics2D g2)
Installs desktop hints on the specified graphics context.
-
-
-
Method Detail
-
installDesktopHints
public static Map installDesktopHints(Graphics2D g2)
Installs desktop hints on the specified graphics context.- Parameters:
g2
- Graphics context.- Returns:
- Map of old rendering hints.
-
-