org.swiftgantt.common
Class PaintHelper

java.lang.Object
  extended by org.swiftgantt.common.PaintHelper

public class PaintHelper
extends java.lang.Object

Helper class for paint

Author:
Yuxing Wang

Constructor Summary
PaintHelper()
           
 
Method Summary
static void drawDashedLine(java.awt.Graphics g, int x1, int y1, int x2, int y2)
           
static void fillBevelFoggyRect(java.awt.Graphics g, int x, int y, int width, int height)
           
static void fillOppositeBevelFoggyRect(java.awt.Graphics g, int x, int y, int width, int height)
           
static void fillThwartFoggyRect(java.awt.Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaintHelper

public PaintHelper()
Method Detail

fillThwartFoggyRect

public static void fillThwartFoggyRect(java.awt.Graphics g,
                                       int x,
                                       int y,
                                       int width,
                                       int height)

fillBevelFoggyRect

public static void fillBevelFoggyRect(java.awt.Graphics g,
                                      int x,
                                      int y,
                                      int width,
                                      int height)

fillOppositeBevelFoggyRect

public static void fillOppositeBevelFoggyRect(java.awt.Graphics g,
                                              int x,
                                              int y,
                                              int width,
                                              int height)

drawDashedLine

public static void drawDashedLine(java.awt.Graphics g,
                                  int x1,
                                  int y1,
                                  int x2,
                                  int y2)