/*
* $Id: StrokeDrawer.java,v 1.3 2001/12/11 23:50:10 dwd Exp $
*
* This software is provided by NOAA for full, free and open release. It is
* understood by the recipient/user that NOAA assumes no liability for any
* errors contained in the code. Although this software is released without
* conditions or restrictions in its use, it is expected that appropriate
* credit be given to its author and to the National Oceanic and Atmospheric
* Administration should the software be included by the recipient as an
* element in other product development.
*/
package sgtplot;
import java.awt.*;
import org.freehep.graphics2d.VectorGraphics;
/**
* Defines the methods that implement stroke drawing in sgtplot. This
* interface is necessary since sgtplot v2.0 will use Java2D functionality
* to draw strokes if it is available.
*
* @author Donald Denbo
* @version $Revision: 1.3 $, $Date: 2001/12/11 23:50:10 $
* @since 2.1
*/
public interface StrokeDrawer {
public void drawHeavy(VectorGraphics g, int[] xout, int[] yout, int size,
LineAttribute attr);
public void drawDashed(VectorGraphics g, int[] xout, int[] yout, int size,
LineAttribute attr);
public void drawStroke(VectorGraphics g, int[] xout, int[] yout, int size,
LineAttribute attr);
public void drawHighlight(VectorGraphics g, int[] xout, int[] yout, int size,
LineAttribute attr);
}
Ads help maintain this website.