com.kitfox.svg.pathcmd
Class CubicSmooth

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

public class CubicSmooth
extends PathCommand

Author:
Mark McKay, Mark McKay

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

x

public float x

y

public float y

k2x

public float k2x

k2y

public float k2y
Constructor Detail

CubicSmooth

public CubicSmooth()
Creates a new instance of MoveTo


CubicSmooth

public CubicSmooth(boolean isRelative,
                   float k2x,
                   float k2y,
                   float x,
                   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