com.esri.arcgis.display
Interface IFillPattern

All Superinterfaces:
Serializable
All Known Implementing Classes:
GradientPattern, LinePattern, SolidColorPattern

public interface IFillPattern
extends Serializable

Provides access to methods that control the fill pattern.

Remarks

FillPattern is used to draw the fill pattern for a BasicFillSymbol. There are 3 types of fill patterns - GradientPattern, LinePattern and SolidColorPattern. When new basic fill symbols are created, the fill pattern is defaulted to solid color pattern with black color fill.

IFillPattern interface is used to change the fill patterns.

The following code shows how you can change the attributes of a FillPattern.

Product Availability

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


Method Summary
 void draw(IOutputContext context, IGeometry geometry, IEnvelope envelope)
          Draws the fill pattern.
 

Method Detail

draw

void draw(IOutputContext context,
          IGeometry geometry,
          IEnvelope envelope)
          throws IOException,
                 AutomationException
Draws the fill pattern.

Product Availability

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

Parameters:
context - A reference to a com.esri.arcgis.display.IOutputContext (in)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
envelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.