pt.tumba.parser.swf
Class Shape.Curve

java.lang.Object
  extended by pt.tumba.parser.swf.Shape.Element
      extended by pt.tumba.parser.swf.Shape.Vector
          extended by pt.tumba.parser.swf.Shape.Curve
Enclosing class:
Shape

public static class Shape.Curve
extends Shape.Vector

Description of the Class

Author:
unknown

Field Summary
protected  double cx
          Description of the Field
protected  double cy
          Description of the Field
 
Fields inherited from class pt.tumba.parser.swf.Shape.Vector
x, y
 
Constructor Summary
Shape.Curve(double x, double y, double controlX, double controlY)
          Constructor for the Curve object
 
Method Summary
 double getControlX()
          Gets the controlX attribute of the Curve object
 double getControlY()
          Gets the controlY attribute of the Curve object
 void setControlX(double cx)
          Sets the controlX attribute of the Curve object
 void setControlY(double cy)
          Sets the controlY attribute of the Curve object
 
Methods inherited from class pt.tumba.parser.swf.Shape.Vector
getX, getY, setX, setY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cx

protected double cx
Description of the Field


cy

protected double cy
Description of the Field

Constructor Detail

Shape.Curve

public Shape.Curve(double x,
                   double y,
                   double controlX,
                   double controlY)
Constructor for the Curve object

Parameters:
x - Description of the Parameter
y - Description of the Parameter
controlX - Description of the Parameter
controlY - Description of the Parameter
Method Detail

getControlX

public double getControlX()
Gets the controlX attribute of the Curve object

Returns:
The controlX value

getControlY

public double getControlY()
Gets the controlY attribute of the Curve object

Returns:
The controlY value

setControlX

public void setControlX(double cx)
Sets the controlX attribute of the Curve object

Parameters:
cx - The new controlX value

setControlY

public void setControlY(double cy)
Sets the controlY attribute of the Curve object

Parameters:
cy - The new controlY value