|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.FillStyle
public class FillStyle
Description of the Class
| Field Summary | |
|---|---|
protected int |
bitmapId
Description of the Field |
protected Color |
color
Description of the Field |
protected Color[] |
colors
Description of the Field |
protected int |
fillType
Description of the Field |
protected Matrix |
matrix
Description of the Field |
protected int[] |
ratios
Description of the Field |
| Constructor Summary | |
|---|---|
FillStyle(Color solidColor)
Solid color fill (alpha depends on the TagDefineShapeX tag used) |
|
FillStyle(int bitmapId,
Matrix matrix,
boolean clipped)
Bitmap fill |
|
FillStyle(Matrix matrix,
int[] ratios,
Color[] colors,
boolean radial)
Linear/Radial Gradient Fill |
|
| Method Summary | |
|---|---|
Color[] |
getGradientColors()
Gets the gradientColors attribute of the FillStyle object |
int[] |
getGradientRatios()
Gets the gradientRatios attribute of the FillStyle object |
int |
getImageId()
Gets the imageId attribute of the FillStyle object |
Matrix |
getMatrix()
Gets the matrix attribute of the FillStyle object |
Color |
getSolidColor()
Gets the solidColor attribute of the FillStyle object |
int |
getType()
Gets the type attribute of the FillStyle object |
void |
write(OutStream out,
boolean hasAlpha)
Description of the Method |
static void |
writeMorphFillStyle(OutStream out,
FillStyle startStyle,
FillStyle 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 |
|---|
protected int fillType
protected Color color
protected Matrix matrix
protected int[] ratios
protected Color[] colors
protected int bitmapId
| Constructor Detail |
|---|
public FillStyle(Color solidColor)
solidColor - Description of the Parameter
public FillStyle(Matrix matrix,
int[] ratios,
Color[] colors,
boolean radial)
matrix - Description of the Parameterratios - Description of the Parametercolors - Description of the Parameterradial - Description of the Parameter
public FillStyle(int bitmapId,
Matrix matrix,
boolean clipped)
bitmapId - Description of the Parametermatrix - Description of the Parameterclipped - Description of the Parameter| Method Detail |
|---|
public int getType()
public Color getSolidColor()
public Matrix getMatrix()
public int getImageId()
public int[] getGradientRatios()
public Color[] getGradientColors()
public void write(OutStream out,
boolean hasAlpha)
throws java.io.IOException
write in interface Styleout - Description of the ParameterhasAlpha - Description of the Parameter
java.io.IOException - Description of the Exception
public static void writeMorphFillStyle(OutStream out,
FillStyle startStyle,
FillStyle endStyle)
throws java.io.IOException
out - Description of the ParameterstartStyle - Description of the ParameterendStyle - Description of the Parameter
java.io.IOException - Description of the Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||