pt.tumba.parser.swf
Class Shape.LineStyle

java.lang.Object
  extended by pt.tumba.parser.swf.Shape.Element
      extended by pt.tumba.parser.swf.Shape.Style
          extended by pt.tumba.parser.swf.Shape.LineStyle
Enclosing class:
Shape

public static class Shape.LineStyle
extends Shape.Style

Description of the Class

Author:
unknown

Field Summary
protected  Color color
          Description of the Field
protected  double width
          Description of the Field
 
Constructor Summary
Shape.LineStyle(double width, Color color)
          Constructor for the LineStyle object
 
Method Summary
 Color getColor()
          Gets the color attribute of the LineStyle object
 double getWidth()
          Gets the width attribute of the LineStyle object
 void setColor(Color color)
          Sets the color attribute of the LineStyle object
 void setWidth(double width)
          Sets the width attribute of the LineStyle object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width

protected double width
Description of the Field


color

protected Color color
Description of the Field

Constructor Detail

Shape.LineStyle

public Shape.LineStyle(double width,
                       Color color)
Constructor for the LineStyle object

Parameters:
width - Description of the Parameter
color - Description of the Parameter
Method Detail

getWidth

public double getWidth()
Gets the width attribute of the LineStyle object

Returns:
The width value

getColor

public Color getColor()
Gets the color attribute of the LineStyle object

Returns:
The color value

setWidth

public void setWidth(double width)
Sets the width attribute of the LineStyle object

Parameters:
width - The new width value

setColor

public void setColor(Color color)
Sets the color attribute of the LineStyle object

Parameters:
color - The new color value