org.micropainter.ext.common.area
Class AreaCurvePainter

java.lang.Object
  extended by org.micropainter.core.painter.AbstractDevice2DPainter
      extended by org.micropainter.ext.common.area.AreaCurvePainter

public class AreaCurvePainter
extends AbstractDevice2DPainter

Author:
Sebastien janaud

Field Summary
private  java.util.Vector<AreaCurve> areas
           
 
Constructor Summary
AreaCurvePainter()
           
 
Method Summary
 void addArea(AreaCurve a)
           
 void doPaint(java.awt.Graphics2D g2d)
          painting operation should be sub classes
private  void makeAreaPath()
           
private  void paintArea(java.awt.Graphics2D g2d, AreaCurve area)
           
 
Methods inherited from class org.micropainter.core.painter.AbstractDevice2DPainter
getAntialiasing, getFractional, getInterpolation, getName, getTextAntialiasing, getWindow2D, isLockPainter, lockPainter, paint, setAntialiasing, setFractional, setInterpolation, setName, setTextAntialiasing, setWindow2D, unlockPainter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

areas

private java.util.Vector<AreaCurve> areas
Constructor Detail

AreaCurvePainter

public AreaCurvePainter()
Method Detail

addArea

public void addArea(AreaCurve a)

makeAreaPath

private void makeAreaPath()

doPaint

public void doPaint(java.awt.Graphics2D g2d)
Description copied from class: AbstractDevice2DPainter
painting operation should be sub classes

Specified by:
doPaint in class AbstractDevice2DPainter

paintArea

private void paintArea(java.awt.Graphics2D g2d,
                       AreaCurve area)