|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMultiLayerFillSymbol
Provides access to members that control the multilayer fill symbol.
IMultiLayerFillSymbol is used for creating composite fill symbols consisting of multiple layers. A layer can be of any type that is supported by the IFillSymbol interface. Use the IFillSymbol interface for setting additional properties.
Method Summary | |
---|---|
void |
addLayer(IFillSymbol fillLayer)
Add fill symbol layer. |
void |
clearLayers()
Remove all symbol layers. |
void |
deleteLayer(IFillSymbol fillLayer)
Delete fill symbol layer. |
void |
drawLayer(int index,
IGeometry geometry)
Draw a symbol layer. |
IFillSymbol |
getLayer(int index)
Fill symbol per layer position. |
int |
getLayerCount()
Symbol layer count. |
void |
moveLayer(IFillSymbol fillLayer,
int toIndex)
Change symbol layer position index. |
Methods inherited from interface com.esri.arcgis.display.IFillSymbol |
---|
getColor, getOutline, setColor, setOutline |
Method Detail |
---|
int getLayerCount() throws IOException, AutomationException
LayerCount returns the total number of layers currently contained in the IMultiLayerFillSymbol.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFillSymbol getLayer(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addLayer(IFillSymbol fillLayer) throws IOException, AutomationException
AddLayer adds a single layer to the IMultiLayerFillSymbol. The layer can be of any type supported by the IFillSymbol interface except types implementing IMultiLayerFillSymbol. In this case an E_INVALIDARG HRESULT will be thrown. Therefore, a MultiLayerFillSymbol cannot be imbeded within another MultiLayerFillSymbol.
fillLayer
- A reference to a com.esri.arcgis.display.IFillSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteLayer(IFillSymbol fillLayer) throws IOException, AutomationException
DeleteLayer deletes the layer at the given index.
fillLayer
- A reference to a com.esri.arcgis.display.IFillSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void moveLayer(IFillSymbol fillLayer, int toIndex) throws IOException, AutomationException
MoveLayer moves the spcefied IFillSymbol to the specified index within the IMultiLayerFillSymbol.
fillLayer
- A reference to a com.esri.arcgis.display.IFillSymbol (in)toIndex
- The toIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearLayers() throws IOException, AutomationException
ClearLayers removes all the layers contained within the IMultiLayerFillSymbol.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawLayer(int index, IGeometry geometry) throws IOException, AutomationException
DrawLayer draws the IFillSymbol stored at the specified index within the IMultiLayerFillSymbol.
index
- The index (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |