com.esri.arcgis.display
Interface IFillSymbol

All Superinterfaces:
Serializable
All Known Subinterfaces:
IColorRampSymbol, IColorRampSymbol2, IColorSymbol, IDotDensityFillSymbol, IDotDensityFillSymbol2, IGradientFillSymbol, ILineFillSymbol, IMarkerFillSymbol, IMultiLayerFillSymbol, IPictureFillSymbol, IReferenceFillSymbol, ISimpleFillSymbol, ITextureFillSymbol
All Known Implementing Classes:
ColorRampSymbol, ColorSymbol, DotDensityFillSymbol, GradientFillSymbol, IColorRampSymbol2Proxy, IColorRampSymbolProxy, IColorSymbolProxy, IFillSymbolProxy, IReferenceFillSymbolProxy, LineFillSymbol, MarkerFillSymbol, MultiLayerFillSymbol, PictureFillSymbol, RasterRGBSymbol, SimpleFillSymbol, TextureFillSymbol

public interface IFillSymbol
extends Serializable

Provides access to members that control fill symbols.

Description

IFillSymbol is the genereric interface for properties common to ILineFillSymbol, IMarkerFillSymbol, IGradientFillSymbol, ISimpleFillSymbol, and IPictureFillSymbol.

Remarks

The Color property controls the color of the basic fill (SimpleFill, MarkerFill, GradientFill, and so on) and can be set to any IColor object.

The Outline property sets an ILineSymbol object, which is drawn as the outline of the fill symbol. By default, the outline is a solid SimpleLineSymbol, but you can use any type of line symbol as your outline.

Note that the outline is centered on the boundary of the feature, therefore, an outline with a width of 5 will overlap the fill symbol by a visible amount.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
IFillProperties, IFillSymbol, IDotDensityFillSymbol, IMarkerFillSymbol, ILineFillSymbol, IMultiLayerFillSymbol, IGradientFillSymbol, IDotDensityFillSymbol2, IPictureFillSymbol

Method Summary
 IColor getColor()
          Fill color.
 ILineSymbol getOutline()
          Line symbol of fill outline.
 void setColor(IColor color)
          Fill color.
 void setOutline(ILineSymbol outlineSym)
          Line symbol of fill outline.
 

Method Detail

getColor

IColor getColor()
                throws IOException,
                       AutomationException
Fill color.

Description

Color is the color for a FillSymbol object. Any IColor object can be used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColor

void setColor(IColor color)
              throws IOException,
                     AutomationException
Fill color.

Description

Color is the color for a FillSymbol object. Any IColor object can be used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
color - A reference to a com.esri.arcgis.display.IColor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutline

ILineSymbol getOutline()
                       throws IOException,
                              AutomationException
Line symbol of fill outline.

Description

Outline is the border for a FillSymbol object. Any ILineSymbol object can be used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.display.ILineSymbol
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutline

void setOutline(ILineSymbol outlineSym)
                throws IOException,
                       AutomationException
Line symbol of fill outline.

Description

Outline is the border for a FillSymbol object. Any ILineSymbol object can be used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
outlineSym - A reference to a com.esri.arcgis.display.ILineSymbol (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.