java.lang.Object
com.anotherbigidea.flash.readers.MovieBuilder.ShapeBuilder
- All Implemented Interfaces:
- com.anotherbigidea.flash.interfaces.SWFShape, com.anotherbigidea.flash.interfaces.SWFVectors
- Direct Known Subclasses:
- MovieBuilder.GlyphBuilder, MovieBuilder.MorphShapeBuilder
- Enclosing class:
- MovieBuilder
- protected class MovieBuilder.ShapeBuilder
- extends java.lang.Object
- implements com.anotherbigidea.flash.interfaces.SWFShape
SWFShape implementation that builds a Shape
|
Method Summary |
void |
curve(int cx,
int cy,
int dx,
int dy)
|
void |
defineFillStyle(com.anotherbigidea.flash.structs.Color color)
Solid color fill |
void |
defineFillStyle(int bitmapId,
com.anotherbigidea.flash.structs.Matrix matrix,
boolean clipped)
Bitmap fill - tiled or clipped |
void |
defineFillStyle(com.anotherbigidea.flash.structs.Matrix matrix,
int[] ratios,
com.anotherbigidea.flash.structs.Color[] colors,
boolean radial)
Gradient fill - linear or radial. |
void |
defineLineStyle(int width,
com.anotherbigidea.flash.structs.Color color)
|
void |
done()
|
void |
line(int dx,
int dy)
|
void |
move(int x,
int y)
|
void |
setFillStyle0(int styleIndex)
|
void |
setFillStyle1(int styleIndex)
|
void |
setLineStyle(int styleIndex)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s
protected com.anotherbigidea.flash.movie.Shape s
currx
protected int currx
curry
protected int curry
MovieBuilder.ShapeBuilder
protected MovieBuilder.ShapeBuilder(com.anotherbigidea.flash.movie.Shape s)
done
public void done()
- Specified by:
done in interface com.anotherbigidea.flash.interfaces.SWFVectors
line
public void line(int dx,
int dy)
- Specified by:
line in interface com.anotherbigidea.flash.interfaces.SWFVectors
curve
public void curve(int cx,
int cy,
int dx,
int dy)
- Specified by:
curve in interface com.anotherbigidea.flash.interfaces.SWFVectors
move
public void move(int x,
int y)
- Specified by:
move in interface com.anotherbigidea.flash.interfaces.SWFVectors
setFillStyle0
public void setFillStyle0(int styleIndex)
- Specified by:
setFillStyle0 in interface com.anotherbigidea.flash.interfaces.SWFShape
setFillStyle1
public void setFillStyle1(int styleIndex)
- Specified by:
setFillStyle1 in interface com.anotherbigidea.flash.interfaces.SWFShape
setLineStyle
public void setLineStyle(int styleIndex)
- Specified by:
setLineStyle in interface com.anotherbigidea.flash.interfaces.SWFShape
defineFillStyle
public void defineFillStyle(com.anotherbigidea.flash.structs.Color color)
- Description copied from interface:
com.anotherbigidea.flash.interfaces.SWFShape
- Solid color fill
- Specified by:
defineFillStyle in interface com.anotherbigidea.flash.interfaces.SWFShape
defineFillStyle
public void defineFillStyle(com.anotherbigidea.flash.structs.Matrix matrix,
int[] ratios,
com.anotherbigidea.flash.structs.Color[] colors,
boolean radial)
- Description copied from interface:
com.anotherbigidea.flash.interfaces.SWFShape
- Gradient fill - linear or radial.
- Specified by:
defineFillStyle in interface com.anotherbigidea.flash.interfaces.SWFShape
defineFillStyle
public void defineFillStyle(int bitmapId,
com.anotherbigidea.flash.structs.Matrix matrix,
boolean clipped)
- Description copied from interface:
com.anotherbigidea.flash.interfaces.SWFShape
- Bitmap fill - tiled or clipped
- Specified by:
defineFillStyle in interface com.anotherbigidea.flash.interfaces.SWFShape
defineLineStyle
public void defineLineStyle(int width,
com.anotherbigidea.flash.structs.Color color)
- Specified by:
defineLineStyle in interface com.anotherbigidea.flash.interfaces.SWFShape