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 Details

    • RenderingUtils

      public RenderingUtils()
  • Method Details

    • 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.