com.kitfox.svg.pathcmd
Class Cubic

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

public class Cubic
extends PathCommand

Author:
Mark McKay, Mark McKay

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

k1x

public float k1x

k1y

public float k1y

k2x

public float k2x

k2y

public float k2y

x

public float x

y

public float y
Constructor Detail

Cubic

public Cubic()
Creates a new instance of MoveTo


Cubic

public Cubic(boolean isRelative,
             float k1x,
             float k1y,
             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