com.kitfox.svg.pathcmd
Class PathCommand

java.lang.Object
  extended by com.kitfox.svg.pathcmd.PathCommand
Direct Known Subclasses:
Arc, Cubic, CubicSmooth, Horizontal, LineTo, MoveTo, Quadratic, QuadraticSmooth, Terminal, Vertical

public abstract class PathCommand
extends java.lang.Object

This is the element of a path and contains instructions for rendering a portion of the path

Author:
Mark McKay, Mark McKay

Field Summary
 boolean isRelative
           
 
Constructor Summary
PathCommand()
          Creates a new instance of PathCommand
PathCommand(boolean isRelative)
           
 
Method Summary
abstract  void appendPath(java.awt.geom.GeneralPath path, BuildHistory hist)
           
abstract  int getNumKnotsAdded()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isRelative

public boolean isRelative
Constructor Detail

PathCommand

public PathCommand()
Creates a new instance of PathCommand


PathCommand

public PathCommand(boolean isRelative)
Method Detail

appendPath

public abstract void appendPath(java.awt.geom.GeneralPath path,
                                BuildHistory hist)

getNumKnotsAdded

public abstract int getNumKnotsAdded()