|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.MovieBuilder.ShapeBuilder
protected class MovieBuilder.ShapeBuilder
SWFShape implementation that builds a Shape
| Field Summary | |
|---|---|
protected int |
currx
Description of the Field |
protected int |
curry
Description of the Field |
protected Shape |
s
Description of the Field |
| Constructor Summary | |
|---|---|
protected |
MovieBuilder.ShapeBuilder(Shape s)
Constructor for the ShapeBuilder object |
| Method Summary | |
|---|---|
void |
curve(int cx2,
int cy2,
int dx,
int dy)
Description of the Method |
void |
defineFillStyle(Color color)
Description of the Method |
void |
defineFillStyle(int bitmapId,
Matrix matrix,
boolean clipped)
Description of the Method |
void |
defineFillStyle(Matrix matrix,
int[] ratios,
Color[] colors,
boolean radial)
Description of the Method |
void |
defineLineStyle(int width,
Color color)
Description of the Method |
void |
done()
Description of the Method |
void |
line(int dx,
int dy)
Description of the Method |
void |
move(int x,
int y)
Description of the Method |
void |
setFillStyle0(int styleIndex)
Sets the fillStyle0 attribute of the ShapeBuilder object |
void |
setFillStyle1(int styleIndex)
Sets the fillStyle1 attribute of the ShapeBuilder object |
void |
setLineStyle(int styleIndex)
Sets the lineStyle attribute of the ShapeBuilder object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Shape s
protected int currx
protected int curry
| Constructor Detail |
|---|
protected MovieBuilder.ShapeBuilder(Shape s)
s - Description of the Parameter| Method Detail |
|---|
public void done()
done in interface SWFVectors
public void line(int dx,
int dy)
line in interface SWFVectorsdx - Description of the Parameterdy - Description of the Parameter
public void curve(int cx2,
int cy2,
int dx,
int dy)
curve in interface SWFVectorscx - Description of the Parametercy - Description of the Parameterdx - Description of the Parameterdy - Description of the Parameter
public void move(int x,
int y)
move in interface SWFVectorsx - Description of the Parametery - Description of the Parameterpublic void setFillStyle0(int styleIndex)
setFillStyle0 in interface SWFShapestyleIndex - The new fillStyle0 valuepublic void setFillStyle1(int styleIndex)
setFillStyle1 in interface SWFShapestyleIndex - The new fillStyle1 valuepublic void setLineStyle(int styleIndex)
setLineStyle in interface SWFShapestyleIndex - The new lineStyle valuepublic void defineFillStyle(Color color)
defineFillStyle in interface SWFShapecolor - Description of the Parameter
public void defineFillStyle(Matrix matrix,
int[] ratios,
Color[] colors,
boolean radial)
defineFillStyle in interface SWFShapematrix - Description of the Parameterratios - Description of the Parametercolors - Description of the Parameterradial - Description of the Parameter
public void defineFillStyle(int bitmapId,
Matrix matrix,
boolean clipped)
defineFillStyle in interface SWFShapebitmapId - Description of the Parametermatrix - Description of the Parameterclipped - Description of the Parameter
public void defineLineStyle(int width,
Color color)
defineLineStyle in interface SWFShapewidth - Description of the Parametercolor - Description of the Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||