public interface IMultiLayerSymbol extends ISymbol
SELECTION_COLOR| Modifier and Type | Method and Description |
|---|---|
void |
addLayer(ISymbol newLayer)
Stacks a new symbol to the symbol list.
|
void |
addLayer(ISymbol newLayer,
int layerIndex)
Stacks a new symbol to the symbol list.
|
ISymbol |
getLayer(int layerIndex)
Obtains the symbol that "contains" a layer whose index is the argument of the method.
|
int |
getLayerCount()
Returns the number of layers
|
boolean |
removeLayer(ISymbol layer)
TODO maybe push it up to ISymbol
|
void |
setLayer(int index,
ISymbol layer)
Establishes a concret symbol for a layer
|
void |
swapLayers(int index1,
int index2)
Changes the position of two layers in a multilayersymbol
|
draw, drawInsideRectangle, getColor, getDescription, getOnePointRgb, getPixExtentPlus, getSymbolForSelection, getSymbolType, isOneDotOrPixel, isShapeVisible, isSuitableFor, setColor, setDescriptionloadFromState, saveToStateprintvoid setLayer(int index,
ISymbol layer)
throws IndexOutOfBoundsException
index, - index of the layerlayer, - symbol to be "applied" to the layerIndexOutOfBoundsExceptionvoid swapLayers(int index1,
int index2)
index1, - index of the layerindex2, - index of the layerISymbol getLayer(int layerIndex)
layerIndex - int getLayerCount()
void addLayer(ISymbol newLayer)
ISymbol - newLayervoid addLayer(ISymbol newLayer, int layerIndex) throws IndexOutOfBoundsException
ISymbol - newLayerIndexOutOfBoundsExceptionboolean removeLayer(ISymbol layer)
layer -