org.pushingpixels.flamingo.internal.utils
Class RenderingUtils

java.lang.Object
  extended by org.pushingpixels.flamingo.internal.utils.RenderingUtils

public class RenderingUtils
extends java.lang.Object

Utilities to install desktop rendering hints for correctly rasterizing texts.


Constructor Summary
RenderingUtils()
           
 
Method Summary
static java.util.Map installDesktopHints(java.awt.Graphics2D g2)
          Installs desktop hints on the specified graphics context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderingUtils

public RenderingUtils()
Method Detail

installDesktopHints

public static java.util.Map installDesktopHints(java.awt.Graphics2D g2)
Installs desktop hints on the specified graphics context.

Parameters:
g2 - Graphics context.
Returns:
Map of old rendering hints.