org.concord.flash.player
Class FMovieBuilder.ShapeBuilder
java.lang.Object
|
+--org.concord.flash.player.FMovieBuilder.ShapeBuilder
- All Implemented Interfaces:
- com.anotherbigidea.flash.interfaces.SWFShape, com.anotherbigidea.flash.interfaces.SWFVectors
- Direct Known Subclasses:
- FMovieBuilder.GlyphBuilder, FMovieBuilder.MorphShapeBuilder
- Enclosing class:
- FMovieBuilder
- protected class FMovieBuilder.ShapeBuilder
- extends java.lang.Object
- implements com.anotherbigidea.flash.interfaces.SWFShape
SWFShape implementation that builds a Shape
Field Summary |
protected int |
currx
|
protected int |
curry
|
protected com.anotherbigidea.flash.movie.Shape |
s
|
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
FMovieBuilder.ShapeBuilder
protected FMovieBuilder.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
- Following copied from interface:
com.anotherbigidea.flash.interfaces.SWFShape
- Parameters:
colors
- may have null elements - these (and the corresponding ratio)
should be ignored
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