Class PaintUtils


  • public class PaintUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PaintUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void disableAA​(java.awt.Graphics2D g2d)  
      static void drawTextWithShadow​(java.awt.Graphics2D g2d, java.lang.Object text, int x, int y)  
      static void drawTextWithShadow​(java.awt.Graphics2D g2d, java.lang.Object text, int x, int y, boolean center)  
      static void drawTextWithShadow​(java.awt.Graphics2D g2d, java.lang.Object text, int x, int y, int width, boolean center)  
      static void enableAA​(java.awt.Graphics2D g2d)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PaintUtils

        public PaintUtils()
    • Method Detail

      • enableAA

        public static void enableAA​(java.awt.Graphics2D g2d)
      • disableAA

        public static void disableAA​(java.awt.Graphics2D g2d)
      • drawTextWithShadow

        public static void drawTextWithShadow​(java.awt.Graphics2D g2d,
                                              java.lang.Object text,
                                              int x,
                                              int y)
      • drawTextWithShadow

        public static void drawTextWithShadow​(java.awt.Graphics2D g2d,
                                              java.lang.Object text,
                                              int x,
                                              int y,
                                              boolean center)
      • drawTextWithShadow

        public static void drawTextWithShadow​(java.awt.Graphics2D g2d,
                                              java.lang.Object text,
                                              int x,
                                              int y,
                                              int width,
                                              boolean center)