|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHashLineSymbol
Provides access to members that control the hash line symbol.
IHashLineSymbol draws equal length line segments in a repeated pattern at the specified angle. You can set the HashSymbol (the line symbol of the hash lines) and the Angle. Use the ILineSymbol, ILineProperties, and the ITemplate interfaces to set additional properties for IHashLineSymbols. See the example for how to do this.
The HashSymbol property is used to return or set a LineSymbol that draws the hashes across the line path.
The Angle property sets or returns the angle at which the hashes are drawn, relative to the path of the line feature. An angle of 90 degrees will draw all the hashes perpendicular to the path, angles of 0 to 89 degrees will tilt the hash toward the end vertex of the path, and angles of 91 to 180 degrees will tilt the hash toward the start vertex of the path.
The Width property, inherited from ILineSymbol, refers to the length of each hash line, and therefore the actual width of the symbol will be a function of both the Width and Angle properties.
IHashLineSymbol
,
ILineProperties
,
ILineSymbol
,
ITemplate
,
ICartographicLineSymbol
,
IMultiLayerLineSymbol
,
IPictureLineSymbol
Method Summary | |
---|---|
double |
getAngle()
Hash line angle. |
ILineSymbol |
getHashSymbol()
Line symbol used for hash pattern. |
void |
setAngle(double angle)
Hash line angle. |
void |
setHashSymbolByRef(ILineSymbol hashSymbol)
Line symbol used for hash pattern. |
Methods inherited from interface com.esri.arcgis.display.ILineSymbol |
---|
getColor, getWidth, setColor, setWidth |
Method Detail |
---|
ILineSymbol getHashSymbol() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IHashLineSymbol
,
ILineProperties
,
ILineSymbol
,
ITemplate
,
ICartographicLineSymbol
,
IMultiLayerLineSymbol
,
IPictureLineSymbol
void setHashSymbolByRef(ILineSymbol hashSymbol) throws IOException, AutomationException
hashSymbol
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IHashLineSymbol
,
ILineProperties
,
ILineSymbol
,
ITemplate
,
ICartographicLineSymbol
,
IMultiLayerLineSymbol
,
IPictureLineSymbol
double getAngle() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAngle(double angle) throws IOException, AutomationException
angle
- The angle (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 |