pt.tumba.parser.swf
Class LineStyle

java.lang.Object
  extended by pt.tumba.parser.swf.LineStyle
All Implemented Interfaces:
Style

public class LineStyle
extends java.lang.Object
implements Style

Description of the Class

Author:
unknown

Field Summary
protected  Color color
          Description of the Field
protected  int width
          Description of the Field
 
Constructor Summary
LineStyle(int width, Color color)
          Constructor for the LineStyle object
 
Method Summary
 Color getColor()
          Gets the color attribute of the LineStyle object
 int getWidth()
          Gets the width attribute of the LineStyle object
 void write(OutStream out, boolean hasAlpha)
          Description of the Method
static void writeMorphLineStyle(OutStream out, LineStyle startStyle, LineStyle endStyle)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width

protected int width
Description of the Field


color

protected Color color
Description of the Field

Constructor Detail

LineStyle

public LineStyle(int width,
                 Color color)
Constructor for the LineStyle object

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

getWidth

public int 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

write

public void write(OutStream out,
                  boolean hasAlpha)
           throws java.io.IOException
Description of the Method

Specified by:
write in interface Style
Parameters:
out - Description of the Parameter
hasAlpha - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

writeMorphLineStyle

public static void writeMorphLineStyle(OutStream out,
                                       LineStyle startStyle,
                                       LineStyle endStyle)
                                throws java.io.IOException
Description of the Method

Parameters:
out - Description of the Parameter
startStyle - Description of the Parameter
endStyle - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception