pt.tumba.parser.swf
Class Shape.GradientFill

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.FillStyle
              extended by pt.tumba.parser.swf.Shape.GradientFill
Enclosing class:
Shape

public static class Shape.GradientFill
extends Shape.FillStyle

Description of the Class

Author:
unknown

Field Summary
protected  Color[] colors
          Description of the Field
protected  Transform matrix
          Description of the Field
protected  boolean radial
          Description of the Field
protected  int[] ratios
          Description of the Field
 
Constructor Summary
Shape.GradientFill(Color[] colors, int[] ratios, Transform matrix, boolean isRadial)
          Constructor for the GradientFill object
 
Method Summary
 Color[] getColors()
          Gets the colors attribute of the GradientFill object
 int[] getRatios()
          Gets the ratios attribute of the GradientFill object
 Transform getTransform()
          Gets the transform attribute of the GradientFill object
 boolean isRadial()
          Gets the radial attribute of the GradientFill object
 void setColors(Color[] colors)
          Sets the colors attribute of the GradientFill object
 void setRadial(boolean isRadial)
          Sets the radial attribute of the GradientFill object
 void setRatios(int[] ratios)
          Sets the ratios attribute of the GradientFill object
 void setTransform(Transform matrix)
          Sets the transform attribute of the GradientFill object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colors

protected Color[] colors
Description of the Field


ratios

protected int[] ratios
Description of the Field


matrix

protected Transform matrix
Description of the Field


radial

protected boolean radial
Description of the Field

Constructor Detail

Shape.GradientFill

public Shape.GradientFill(Color[] colors,
                          int[] ratios,
                          Transform matrix,
                          boolean isRadial)
Constructor for the GradientFill object

Parameters:
colors - Description of the Parameter
ratios - Description of the Parameter
matrix - Description of the Parameter
isRadial - Description of the Parameter
Method Detail

getColors

public Color[] getColors()
Gets the colors attribute of the GradientFill object

Returns:
The colors value

getTransform

public Transform getTransform()
Gets the transform attribute of the GradientFill object

Returns:
The transform value

getRatios

public int[] getRatios()
Gets the ratios attribute of the GradientFill object

Returns:
The ratios value

isRadial

public boolean isRadial()
Gets the radial attribute of the GradientFill object

Returns:
The radial value

setColors

public void setColors(Color[] colors)
Sets the colors attribute of the GradientFill object

Parameters:
colors - The new colors value

setRatios

public void setRatios(int[] ratios)
Sets the ratios attribute of the GradientFill object

Parameters:
ratios - The new ratios value

setTransform

public void setTransform(Transform matrix)
Sets the transform attribute of the GradientFill object

Parameters:
matrix - The new transform value

setRadial

public void setRadial(boolean isRadial)
Sets the radial attribute of the GradientFill object

Parameters:
isRadial - The new radial value