|
||||||||||
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 ParameterMethod Detail |
---|
public void done()
done
in interface SWFVectors
public void line(int dx, int dy)
line
in interface SWFVectors
dx
- Description of the Parameterdy
- Description of the Parameterpublic void curve(int cx2, int cy2, int dx, int dy)
curve
in interface SWFVectors
cx
- Description of the Parametercy
- Description of the Parameterdx
- Description of the Parameterdy
- Description of the Parameterpublic void move(int x, int y)
move
in interface SWFVectors
x
- Description of the Parametery
- Description of the Parameterpublic void setFillStyle0(int styleIndex)
setFillStyle0
in interface SWFShape
styleIndex
- The new fillStyle0 valuepublic void setFillStyle1(int styleIndex)
setFillStyle1
in interface SWFShape
styleIndex
- The new fillStyle1 valuepublic void setLineStyle(int styleIndex)
setLineStyle
in interface SWFShape
styleIndex
- The new lineStyle valuepublic void defineFillStyle(Color color)
defineFillStyle
in interface SWFShape
color
- Description of the Parameterpublic void defineFillStyle(Matrix matrix, int[] ratios, Color[] colors, boolean radial)
defineFillStyle
in interface SWFShape
matrix
- Description of the Parameterratios
- Description of the Parametercolors
- Description of the Parameterradial
- Description of the Parameterpublic void defineFillStyle(int bitmapId, Matrix matrix, boolean clipped)
defineFillStyle
in interface SWFShape
bitmapId
- Description of the Parametermatrix
- Description of the Parameterclipped
- Description of the Parameterpublic void defineLineStyle(int width, Color color)
defineLineStyle
in interface SWFShape
width
- Description of the Parametercolor
- Description of the Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |