gov.noaa.pmel.sgt
Class StrokeDrawer2

java.lang.Object
  extended by gov.noaa.pmel.sgt.StrokeDrawer2
All Implemented Interfaces:
StrokeDrawer, java.lang.Cloneable

public class StrokeDrawer2
extends java.lang.Object
implements StrokeDrawer, java.lang.Cloneable

Implements stroke drawing using Java2D functionality.

Since:
2.1
Version:
$Revision$, $Date$
Author:
Donald Denbo

Constructor Summary
StrokeDrawer2()
           
 
Method Summary
 void drawDashed(java.awt.Graphics g, int[] xout, int[] yout, int size, LineAttribute attr)
           
 void drawHeavy(java.awt.Graphics g, int[] xout, int[] yout, int size, LineAttribute attr)
           
 void drawHighlight(java.awt.Graphics g, int[] xout, int[] yout, int size, LineAttribute attr)
           
 void drawStroke(java.awt.Graphics g, int[] xout, int[] yout, int size, LineAttribute attr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrokeDrawer2

public StrokeDrawer2()
Method Detail

drawHeavy

public void drawHeavy(java.awt.Graphics g,
                      int[] xout,
                      int[] yout,
                      int size,
                      LineAttribute attr)
Specified by:
drawHeavy in interface StrokeDrawer

drawDashed

public void drawDashed(java.awt.Graphics g,
                       int[] xout,
                       int[] yout,
                       int size,
                       LineAttribute attr)
Specified by:
drawDashed in interface StrokeDrawer

drawStroke

public void drawStroke(java.awt.Graphics g,
                       int[] xout,
                       int[] yout,
                       int size,
                       LineAttribute attr)
Specified by:
drawStroke in interface StrokeDrawer

drawHighlight

public void drawHighlight(java.awt.Graphics g,
                          int[] xout,
                          int[] yout,
                          int size,
                          LineAttribute attr)
Specified by:
drawHighlight in interface StrokeDrawer