com.kitfox.svg.pathcmd
Class Quadratic

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

public class Quadratic
extends PathCommand

Author:
Mark McKay, Mark McKay

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

kx

public float kx

ky

public float ky

x

public float x

y

public float y
Constructor Detail

Quadratic

public Quadratic()
Creates a new instance of MoveTo


Quadratic

public Quadratic(boolean isRelative,
                 float kx,
                 float ky,
                 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