com.kitfox.svg.pathcmd
Class Horizontal

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

public class Horizontal
extends PathCommand

Author:
Mark McKay, Mark McKay

Field Summary
 float x
           
 
Fields inherited from class com.kitfox.svg.pathcmd.PathCommand
isRelative
 
Constructor Summary
Horizontal()
          Creates a new instance of MoveTo
Horizontal(boolean isRelative, float x)
           
 
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

x

public float x
Constructor Detail

Horizontal

public Horizontal()
Creates a new instance of MoveTo


Horizontal

public Horizontal(boolean isRelative,
                  float x)
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