| java.lang.Object org.openlaszlo.iv.flash.api.FlashItem org.openlaszlo.iv.flash.api.shape.ShapeStyles
ShapeStyles | final public class ShapeStyles extends FlashItem (Code) | | This object represents collection of shape styles.
author: Dmitry Skavish |
ShapeStyles | public ShapeStyles()(Code) | | Creates empty shapestyle
|
addFillStyle | public int addFillStyle(FillStyle fs)(Code) | | Adds new fillstyle to this array.
Parameters: fs - new fillstyle to be added index of added fillstyle |
addLineStyle | public int addLineStyle(LineStyle ls)(Code) | | Adds new linestyle to this array.
Parameters: ls - new linestyle to be added index of added linestyle |
calcNFillBits | public int calcNFillBits()(Code) | | Returns maximum number of bits required to hold fillstyles' indexes
maximum number of bits required to hold fillstyles' indexes |
calcNLineBits | public int calcNLineBits()(Code) | | Returns maximum number of bits required to hold linestyles' indexes
maximum number of bits required to hold linestyles' indexes |
getFillStyle | public FillStyle getFillStyle(int index)(Code) | | Returns fill style by its index
Parameters: index - index of fill style to be returned fill style at specified index |
getFillStyleIndex | public int getFillStyleIndex(FillStyle fs)(Code) | | Returns index of specified fillstyle
Parameters: fs - fillstyle which index is to be returned index of specified fillstyle or -1 |
getLineStyle | public LineStyle getLineStyle(int index)(Code) | | Returns line style by its index
Parameters: index - index of line style to be returned line style at specified index |
getLineStyleIndex | public int getLineStyleIndex(LineStyle ls)(Code) | | Returns index of specified linestyle
Parameters: ls - linestyle which index is to be returned index of specified linestyle or -1 |
|
|