|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.parser.swf.Shape.Element
pt.tumba.parser.swf.Shape.Style
pt.tumba.parser.swf.Shape.FillStyle
pt.tumba.parser.swf.Shape.GradientFill
public static class Shape.GradientFill
Description of the Class
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 |
---|
protected Color[] colors
protected int[] ratios
protected Transform matrix
protected boolean radial
Constructor Detail |
---|
public Shape.GradientFill(Color[] colors, int[] ratios, Transform matrix, boolean isRadial)
colors
- Description of the Parameterratios
- Description of the Parametermatrix
- Description of the ParameterisRadial
- Description of the ParameterMethod Detail |
---|
public Color[] getColors()
public Transform getTransform()
public int[] getRatios()
public boolean isRadial()
public void setColors(Color[] colors)
colors
- The new colors valuepublic void setRatios(int[] ratios)
ratios
- The new ratios valuepublic void setTransform(Transform matrix)
matrix
- The new transform valuepublic void setRadial(boolean isRadial)
isRadial
- The new radial value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |