com.esri.arcgis.display
Interface ILineDecorationElement

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ISimpleLineDecorationElement
All Known Implementing Classes:
ILineDecorationElementProxy, ISimpleLineDecorationElementProxy, SimpleLineDecorationElement

public interface ILineDecorationElement
extends java.io.Serializable

COM Interface 'ILineDecorationElement'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description: 'Provides access to members that control the line decoration element.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID533d88f2_0a1a_11d2_b27f_0000f878229e
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addPosition(double elementPosition)
          Adds a position.
 void clearPositions()
          Clears all positions.
 void deletePosition(int index)
          Deletes a position.
 void draw(int hDC, ITransformation transform, IGeometry lineGeometry)
          Draws the given line geometry.
 double getPosition(int index)
          The element position at the given index.
 int getPositionCount()
          The number of positions.
 boolean isPositionAsRatio()
          Indicates if positions represent percentage or absolute distance along the line.
 void queryBoundary(int hDC, ITransformation transform, IGeometry lineGeometry, IPolygon boundary)
          Queries for the boundary of a given line geometry.
 void setPositionAsRatio(boolean asRatio)
          Indicates if positions represent percentage or absolute distance along the line.
 

Field Detail

IID533d88f2_0a1a_11d2_b27f_0000f878229e

static final int IID533d88f2_0a1a_11d2_b27f_0000f878229e
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

addPosition

void addPosition(double elementPosition)
                 throws java.io.IOException,
                        AutomationException
Adds a position.

Parameters:
elementPosition - The elementPosition (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deletePosition

void deletePosition(int index)
                    throws java.io.IOException,
                           AutomationException
Deletes a position.

Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearPositions

void clearPositions()
                    throws java.io.IOException,
                           AutomationException
Clears all positions.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPositionAsRatio

boolean isPositionAsRatio()
                          throws java.io.IOException,
                                 AutomationException
Indicates if positions represent percentage or absolute distance along the line.

Returns:
The asRatio
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPositionAsRatio

void setPositionAsRatio(boolean asRatio)
                        throws java.io.IOException,
                               AutomationException
Indicates if positions represent percentage or absolute distance along the line.

Parameters:
asRatio - The asRatio (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPosition

double getPosition(int index)
                   throws java.io.IOException,
                          AutomationException
The element position at the given index.

Parameters:
index - The index (in)
Returns:
The elementPos
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPositionCount

int getPositionCount()
                     throws java.io.IOException,
                            AutomationException
The number of positions.

Returns:
The positionCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryBoundary

void queryBoundary(int hDC,
                   ITransformation transform,
                   IGeometry lineGeometry,
                   IPolygon boundary)
                   throws java.io.IOException,
                          AutomationException
Queries for the boundary of a given line geometry.

Parameters:
hDC - The hDC (A COM typedef) (in)
transform - A reference to a com.esri.arcgis.geometry.ITransformation (in)
lineGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
boundary - A reference to a com.esri.arcgis.geometry.IPolygon (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

void draw(int hDC,
          ITransformation transform,
          IGeometry lineGeometry)
          throws java.io.IOException,
                 AutomationException
Draws the given line geometry.

Parameters:
hDC - The hDC (A COM typedef) (in)
transform - A reference to a com.esri.arcgis.geometry.ITransformation (in)
lineGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.