| java.lang.Object org.openlaszlo.iv.flash.api.FlashItem org.openlaszlo.iv.flash.api.shape.FillStyle
FillStyle | final public class FillStyle extends FlashItem (Code) | | FillStyle of Shape.
SWF supports three basic types of fills for a shape.
- Solid fill - A simple RGBA color that fills a portion of a shape.
An alpha value of 255 means a completely opaque fill.
An alpha value of zero means a completely transparent fill.
Any alpha between 0 and 255 will be partially transparent.
- Gradient Fill - A gradient fill can be either a linear or a radial gradient.
See
org.openlaszlo.iv.flash.api.Gradient s for an in depth description of how gradients are defined.
- Bitmap fill - Bitmap fills refer to a bitmap characterId.
There are two styles: clipped and tiled. A clipped bitmap fill repeats the color on
the edge of a bitmap if the fill extends beyond the edge of the bitmap.
A tiled fill repeats the bitmap if the fill extends beyond the edge of the bitmap.
author: Dmitry Skavish |
CLIPPED_BITMAP | final public static int CLIPPED_BITMAP(Code) | | |
LINEAR_GRADIENT | final public static int LINEAR_GRADIENT(Code) | | |
RADIAL_GRADIENT | final public static int RADIAL_GRADIENT(Code) | | |
SOLID | final public static int SOLID(Code) | | |
TILED_BITMAP | final public static int TILED_BITMAP(Code) | | |
FillStyle | public FillStyle()(Code) | | |
getType | public int getType()(Code) | | |
newClippedBitmap | public static FillStyle newClippedBitmap(Bitmap bitmap, AffineTransform matrix)(Code) | | Creates new clipped bitmap fill.
Parameters: bitmap - bitmap of bitmap fill Parameters: matrix - matrix of bitmap fill clipped bitmap fill |
newClippedBitmap | public static FillStyle newClippedBitmap(Bitmap bitmap)(Code) | | Creates new clipped bitmap fill with default tranformation matrix.
Parameters: bitmap - bitmap of bitmap fill clipped bitmap fill |
newLinearGradient | public static FillStyle newLinearGradient(Gradient gradient, AffineTransform matrix)(Code) | | Creates new linear gradient fill.
Parameters: gradient - gradient of gradient fill Parameters: matrix - matrix of gradient fill linear gradient fill |
newRadialGradient | public static FillStyle newRadialGradient(Gradient gradient, AffineTransform matrix)(Code) | | Creates new radial gradient fill.
Parameters: gradient - gradient of gradient fill Parameters: matrix - matrix of gradient fill radial gradient fill |
newSolid | public static FillStyle newSolid(Color color)(Code) | | Creates new solid fill.
Parameters: color - color of solid fill solid fillstyle |
newTiledBitmap | public static FillStyle newTiledBitmap(Bitmap bitmap, AffineTransform matrix)(Code) | | Creates new tiled bitmap fill.
Parameters: bitmap - bitmap of bitmap fill Parameters: matrix - matrix of bitmap fill tiled bitmap fill |
newTiledBitmap | public static FillStyle newTiledBitmap(Bitmap bitmap)(Code) | | Creates new tiled bitmap fill with default tranformation matrix.
Parameters: bitmap - bitmap of bitmap fill tiled bitmap fill |
setType | public void setType(int type)(Code) | | |
|
|