public class GraphicsUtils extends Object
Constructor and Description |
---|
GraphicsUtils() |
public static GraphicsUtils getInstance()
public Graphics2D createAAGraphics(Graphics g)
public void drawStringWithShadow(JComponent component, Graphics2D graphics, String string, Color foreground, int x, int y)
public void drawStringWithShadow(JComponent component, Graphics2D graphics, String string, Color foreground, Color shadow, int x, int y)
public void drawString(JComponent component, Graphics2D graphics, String string, Color foreground, int x, int y)
public FontMetrics getFontMetrics(JComponent component, Font font)
public Shape getRoundShape(int width, int height)
public void setGradientPaint(Graphics2D g, int x, int height, Color start, Color stop)
Copyright © 2017. All Rights Reserved.