fr.umlv.unitex
Class GraphicalToolBox

java.lang.Object
  extended by fr.umlv.unitex.GraphicalToolBox

public class GraphicalToolBox
extends java.lang.Object

Author:
Sébastien Paumier

Constructor Summary
GraphicalToolBox()
           
 
Method Summary
static void drawArc(java.awt.Graphics2D g, int x1, int y1, int w, int h, int startAngle, int arctAngle)
           
static void drawCurve(java.awt.Graphics2D g, int x1, int y1, int x2, int y2, int x3, int y3)
           
static void drawEllipse(java.awt.Graphics2D g, int x1, int y1, int w, int h)
           
static void drawLine(java.awt.Graphics2D g, int x1, int y1, int x2, int y2)
           
static void drawRect(java.awt.Graphics2D g, int x1, int y1, int w, int h)
           
static void fillEllipse(java.awt.Graphics2D g, int x1, int y1, int w, int h)
           
static void fillRect(java.awt.Graphics2D g, int x1, int y1, int w, int h)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicalToolBox

public GraphicalToolBox()
Method Detail

drawLine

public static void drawLine(java.awt.Graphics2D g,
                            int x1,
                            int y1,
                            int x2,
                            int y2)

drawRect

public static void drawRect(java.awt.Graphics2D g,
                            int x1,
                            int y1,
                            int w,
                            int h)

fillRect

public static void fillRect(java.awt.Graphics2D g,
                            int x1,
                            int y1,
                            int w,
                            int h)

drawArc

public static void drawArc(java.awt.Graphics2D g,
                           int x1,
                           int y1,
                           int w,
                           int h,
                           int startAngle,
                           int arctAngle)

drawCurve

public static void drawCurve(java.awt.Graphics2D g,
                             int x1,
                             int y1,
                             int x2,
                             int y2,
                             int x3,
                             int y3)

drawEllipse

public static void drawEllipse(java.awt.Graphics2D g,
                               int x1,
                               int y1,
                               int w,
                               int h)

fillEllipse

public static void fillEllipse(java.awt.Graphics2D g,
                               int x1,
                               int y1,
                               int w,
                               int h)