|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDotDensityFillSymbol
Provides access to the main properties of a data driven symbol commonly used with a dot density renderer.
Interface for working with some properties of a DotDensityFillSymbol. Use ISymbolArray to work with the constituent marker symbol(s).
IDotDensityFillSymbol controls the appearance of the marker symbols within the dot density fill.
BackgroundColor reflects the color used to fill areas that are not covered by dots--use a NullColor if you wish the underlying layers to be visible through the dots.
Color indicates the color of the dots, and Outline can be used to alter the appearance of the boundary of the shape.
Set FixedPlacement to True if you wish the dots to be alwasy placed in the same location. The DotSize property indicates the size of each dot in points--using a small size, such as 1 to 3 points, is usually most suitable.
The DotCount property contains a zero-based array of values that determine the number of dots drawn in a filled shape.
IFillProperties
,
IFillSymbol
,
IDotDensityFillSymbol
,
IMarkerFillSymbol
,
ILineFillSymbol
,
IMultiLayerFillSymbol
,
IGradientFillSymbol
,
IDotDensityMasking
,
IDotDensityFillSymbol2
,
IPictureFillSymbol
Method Summary | |
---|---|
IColor |
getBackgroundColor()
The background color. |
int |
getDotCount(int index)
The number of dots used to fill. |
double |
getDotSize()
The size of dots used to fill. |
double |
getDotSpacing()
The distance between dot centers, expressed as a percentage of dot size. |
boolean |
isFixedPlacement()
Indicates if the dots are always placed at the same location (the alternative is random placement). |
void |
setBackgroundColor(IColor color)
The background color. |
void |
setDotCount(int index,
int dotCount)
The number of dots used to fill. |
void |
setDotSize(double dotSize)
The size of dots used to fill. |
void |
setDotSpacing(double dotSpacing)
The distance between dot centers, expressed as a percentage of dot size. |
void |
setFixedPlacement(boolean fixedPlacement)
Indicates if the dots are always placed at the same location (the alternative is random placement). |
Methods inherited from interface com.esri.arcgis.display.IFillSymbol |
---|
getColor, getOutline, setColor, setOutline |
Method Detail |
---|
double getDotSize() throws IOException, AutomationException
The size of the dots used for filling symbols. Decrease the DotSize for a less dense map, or increase for a more dense map. This value overrides the size values of all of the dot symbols set through ISymbolArray.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDotSize(double dotSize) throws IOException, AutomationException
The size of the dots used for filling symbols. Decrease the DotSize for a less dense map, or increase for a more dense map. This value overrides the size values of all of the dot symbols set through ISymbolArray .
dotSize
- The dotSize (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDotCount(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDotCount(int index, int dotCount) throws IOException, AutomationException
index
- The index (in)dotCount
- The dotCount (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getDotSpacing() throws IOException, AutomationException
DotSpacing is expressed as a percentage of dot size, where 100% means that dots can just touch and 0% means that dots can completely overlap. The default is 0%.
You can set a DotSpacing of greater than 100% to enforce a gap between dots.
set_DotSpacing is currently not implemented .
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDotSpacing(double dotSpacing) throws IOException, AutomationException
DotSpacing is expressed as a percentage of dot size, where 100% means that dots can just touch and 0% means that dots can completely overlap. Default is 0%.
You can set a DotSpacing of greater than 100% to enforce a gap between dots.
set_DotSpacing is currently not implemented.
dotSpacing
- The dotSpacing (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isFixedPlacement() throws IOException, AutomationException
Specifies whether or not dots will be drawn at their same positions upon successive redraws. If True, then the dots will be fixed in place on successive redraws. If False, then dots will be placed randomly.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFixedPlacement(boolean fixedPlacement) throws IOException, AutomationException
Use this property to control whether dots are placed randomly upon successive redraws, or whether their location is fixed. If True, then dot location is fixed.
fixedPlacement
- The fixedPlacement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getBackgroundColor() throws IOException, AutomationException
The color drawn behind the dots. A DotDensityFillSymbol has no true background fill symbol.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBackgroundColor(IColor color) throws IOException, AutomationException
The color drawn behind the dots. A DotDensityFillSymbol has no true background fill symbol.
color
- A reference to a com.esri.arcgis.display.IColor (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 |