Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.dja
Class DjaGraphics2  view DjaGraphics2 download DjaGraphics2.java

java.lang.Object
  extended bycom.memoire.dja.DjaGraphics0
      extended bycom.memoire.dja.DjaGraphics2
All Implemented Interfaces:
DjaOptions

public class DjaGraphics2
extends DjaGraphics0

Independant graphics ops (1.2 implementation).


Field Summary
 
Fields inherited from interface com.memoire.dja.DjaOptions
ABSOLUTE, anchorsColor, ANY, attachsColor, AUTO, BOTH, CENTER, closeX, closeY, controlsColor, defaultBigFont, defaultBoldFont, defaultPlainFont, defaultSmallFont, deltaX, deltaY, DISK_BG, DISK_EMPTY, DISK_FG, EAST, freesColor, handlesColor, HELPER, HORIZONTAL, LEFT, LEFT_TRIANGLE_BG, LEFT_TRIANGLE_EMPTY, LEFT_TRIANGLE_FG, LOSANGE_BG, LOSANGE_EMPTY, LOSANGE_FG, MIDDLE, NONE, NORTH, NORTH_EAST, NORTH_WEST, RELATIVE_ANCHOR, RELATIVE_ATTACH, RELATIVE_CONTROL, RELATIVE_NE, RELATIVE_NW, RELATIVE_SE, RELATIVE_SW, RELATIVE_TEXT_NE, RELATIVE_TEXT_NW, RELATIVE_TEXT_SE, RELATIVE_TEXT_SW, RIGHT, RIGHT_TRIANGLE_BG, RIGHT_TRIANGLE_EMPTY, RIGHT_TRIANGLE_FG, selectionBackground, selectionForeground, selectionTextColor, selectionZone, snap, SOUTH, SOUTH_EAST, SOUTH_WEST, SQUARE_BG, SQUARE_EMPTY, SQUARE_FG, VERTICAL, WEST
 
Constructor Summary
DjaGraphics2()
           
 
Method Summary
 void drawLine(java.awt.Graphics _g, int _x1, int _y1, int _x2, int _y2, DjaGraphics.BresenhamParams _bp)
           
 void drawOval(java.awt.Graphics _g, int _x, int _y, int _w, int _h, DjaGraphics.BresenhamParams _bp)
           
 void drawPolygon(java.awt.Graphics _g, int[] _xpoints, int[] _ypoints, int _npoints, DjaGraphics.BresenhamParams _bp)
           
 void drawPolyline(java.awt.Graphics _g, int[] _xpoints, int[] _ypoints, int _npoints, DjaGraphics.BresenhamParams _bp)
           
 void drawRect(java.awt.Graphics _g, int _x, int _y, int _w, int _h, DjaGraphics.BresenhamParams _bp)
           
 void drawRoundRect(java.awt.Graphics _g, int _x, int _y, int _w, int _h, int _rh, int _rv, DjaGraphics.BresenhamParams _bp)
           
 void fillOval(java.awt.Graphics _g, int _x, int _y, int _w, int _h)
           
 void fillRoundRect(java.awt.Graphics _g, int _x, int _y, int _w, int _h, int _rh, int _rv)
           
static java.awt.Stroke getStroke(DjaGraphics.BresenhamParams _bp)
           
 
Methods inherited from class com.memoire.dja.DjaGraphics0
drawPoint, drawPoint, drawPolygon, drawPolyline, fillPolygon, fillPolygon, fillRect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DjaGraphics2

public DjaGraphics2()
Method Detail

getStroke

public static java.awt.Stroke getStroke(DjaGraphics.BresenhamParams _bp)

drawLine

public void drawLine(java.awt.Graphics _g,
                     int _x1,
                     int _y1,
                     int _x2,
                     int _y2,
                     DjaGraphics.BresenhamParams _bp)
Specified by:
drawLine in class DjaGraphics0

drawRect

public void drawRect(java.awt.Graphics _g,
                     int _x,
                     int _y,
                     int _w,
                     int _h,
                     DjaGraphics.BresenhamParams _bp)
Specified by:
drawRect in class DjaGraphics0

drawRoundRect

public void drawRoundRect(java.awt.Graphics _g,
                          int _x,
                          int _y,
                          int _w,
                          int _h,
                          int _rh,
                          int _rv,
                          DjaGraphics.BresenhamParams _bp)
Specified by:
drawRoundRect in class DjaGraphics0

fillRoundRect

public void fillRoundRect(java.awt.Graphics _g,
                          int _x,
                          int _y,
                          int _w,
                          int _h,
                          int _rh,
                          int _rv)
Specified by:
fillRoundRect in class DjaGraphics0

drawOval

public void drawOval(java.awt.Graphics _g,
                     int _x,
                     int _y,
                     int _w,
                     int _h,
                     DjaGraphics.BresenhamParams _bp)
Specified by:
drawOval in class DjaGraphics0

fillOval

public void fillOval(java.awt.Graphics _g,
                     int _x,
                     int _y,
                     int _w,
                     int _h)
Specified by:
fillOval in class DjaGraphics0

drawPolyline

public void drawPolyline(java.awt.Graphics _g,
                         int[] _xpoints,
                         int[] _ypoints,
                         int _npoints,
                         DjaGraphics.BresenhamParams _bp)
Specified by:
drawPolyline in class DjaGraphics0

drawPolygon

public void drawPolygon(java.awt.Graphics _g,
                        int[] _xpoints,
                        int[] _ypoints,
                        int _npoints,
                        DjaGraphics.BresenhamParams _bp)
Specified by:
drawPolygon in class DjaGraphics0