|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SWFShape
Interface for passing shape style information in addition to the basic vectors.
| Method Summary | |
|---|---|
void |
defineFillStyle(Color color)
Solid color fill |
void |
defineFillStyle(int bitmapId,
Matrix matrix,
boolean clipped)
Bitmap fill - tiled or clipped |
void |
defineFillStyle(Matrix matrix,
int[] ratios,
Color[] colors,
boolean radial)
Gradient fill - linear or radial. |
void |
defineLineStyle(int width,
Color color)
Description of the Method |
void |
setFillStyle0(int styleIndex)
Sets the fillStyle0 attribute of the SWFShape object |
void |
setFillStyle1(int styleIndex)
Sets the fillStyle1 attribute of the SWFShape object |
void |
setLineStyle(int styleIndex)
Sets the lineStyle attribute of the SWFShape object |
| Methods inherited from interface pt.tumba.parser.swf.SWFVectors |
|---|
curve, done, line, move |
| Method Detail |
|---|
void setFillStyle0(int styleIndex)
throws java.io.IOException
styleIndex - The new fillStyle0 value
java.io.IOException - Description of the Exception
void setFillStyle1(int styleIndex)
throws java.io.IOException
styleIndex - The new fillStyle1 value
java.io.IOException - Description of the Exception
void setLineStyle(int styleIndex)
throws java.io.IOException
styleIndex - The new lineStyle value
java.io.IOException - Description of the Exception
void defineFillStyle(Color color)
throws java.io.IOException
color - Description of the Parameter
java.io.IOException - Description of the Exception
void defineFillStyle(Matrix matrix,
int[] ratios,
Color[] colors,
boolean radial)
throws java.io.IOException
colors - may have null elements - these (and the
corresponding ratio) should be ignoredmatrix - Description of the Parameterratios - Description of the Parameterradial - Description of the Parameter
java.io.IOException - Description of the Exception
void defineFillStyle(int bitmapId,
Matrix matrix,
boolean clipped)
throws java.io.IOException
bitmapId - Description of the Parametermatrix - Description of the Parameterclipped - Description of the Parameter
java.io.IOException - Description of the Exception
void defineLineStyle(int width,
Color color)
throws java.io.IOException
width - Description of the Parametercolor - 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 | |||||||||