pt.tumba.parser.swf
Class Shape.Vector

java.lang.Object
  extended by pt.tumba.parser.swf.Shape.Element
      extended by pt.tumba.parser.swf.Shape.Vector
Direct Known Subclasses:
Shape.Curve, Shape.Line, Shape.Move
Enclosing class:
Shape

public abstract static class Shape.Vector
extends Shape.Element

Description of the Class

Author:
unknown

Field Summary
protected  double x
          Description of the Field
protected  double y
          Description of the Field
 
Constructor Summary
protected Shape.Vector(double x, double y)
          Constructor for the Vector object
 
Method Summary
 double getX()
          Gets the x attribute of the Vector object
 double getY()
          Gets the y attribute of the Vector object
 void setX(double x)
          Sets the x attribute of the Vector object
 void setY(double y)
          Sets the y attribute of the Vector object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected double x
Description of the Field


y

protected double y
Description of the Field

Constructor Detail

Shape.Vector

protected Shape.Vector(double x,
                       double y)
Constructor for the Vector object

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

getX

public double getX()
Gets the x attribute of the Vector object

Returns:
The x value

getY

public double getY()
Gets the y attribute of the Vector object

Returns:
The y value

setX

public void setX(double x)
Sets the x attribute of the Vector object

Parameters:
x - The new x value

setY

public void setY(double y)
Sets the y attribute of the Vector object

Parameters:
y - The new y value