com.kitfox.svg.pathcmd
Class Vertical

java.lang.Object
  extended by com.kitfox.svg.pathcmd.PathCommand
      extended by com.kitfox.svg.pathcmd.Vertical

public class Vertical
extends PathCommand

Author:
Mark McKay, Mark McKay

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

Field Detail

y

public float y
Constructor Detail

Vertical

public Vertical()
Creates a new instance of MoveTo


Vertical

public Vertical(boolean isRelative,
                float y)
Method Detail

appendPath

public void appendPath(java.awt.geom.GeneralPath path,
                       BuildHistory hist)
Specified by:
appendPath in class PathCommand

getNumKnotsAdded

public int getNumKnotsAdded()
Specified by:
getNumKnotsAdded in class PathCommand