net.infonode.gui
Class GraphicsUtil

java.lang.Object
  extended by net.infonode.gui.GraphicsUtil

public class GraphicsUtil
extends java.lang.Object

Author:
johan

Constructor Summary
GraphicsUtil()
           
 
Method Summary
static java.awt.Rectangle calculateIntersectionClip(int x, int y, int width, int height, java.awt.Shape originalClip)
           
static void drawOptimizedLine(java.awt.Graphics g, int x1, int y1, int x2, int y2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicsUtil

public GraphicsUtil()
Method Detail

drawOptimizedLine

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

calculateIntersectionClip

public static java.awt.Rectangle calculateIntersectionClip(int x,
                                                           int y,
                                                           int width,
                                                           int height,
                                                           java.awt.Shape originalClip)