|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAnchorPoint
Provides access to members that control the tracker anchor point.
The anchor point represents a point that can be used when manipulating elements and features. When working with elements, anchor points can be considered a helper object, rather than an essential. You will first need to cocreate the anchor point and then manipulate it. This is useful when implementing your own tools and objects, for example, a custom rotation tool.
Anchor points can be useful in many situations—for rotating elements and features and moving the origin of a text callout.
Method Summary | |
---|---|
void |
draw(IDisplay display)
Draw the anchor. |
int |
getCursor()
Cursor displayed when mouse is over anchor. |
IPoint |
getPoint()
Location of anchor point. |
ISymbol |
getSymbol()
Anchor point symbol. |
boolean |
hitTest(IPoint point,
double tol)
Check if mouse is over anchor. |
void |
moveTo(IPoint pPoint,
IDisplay display)
Move the anchor. |
void |
setPoint(IPoint point)
Location of anchor point. |
void |
setSymbolByRef(ISymbol symbol)
Anchor point symbol. |
Method Detail |
---|
void setPoint(IPoint point) throws IOException, AutomationException
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPoint getPoint() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSymbolByRef(ISymbol symbol) throws IOException, AutomationException
symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISymbol getSymbol() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCursor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean hitTest(IPoint point, double tol) throws IOException, AutomationException
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)tol
- The tol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void draw(IDisplay display) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void moveTo(IPoint pPoint, IDisplay display) throws IOException, AutomationException
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)display
- A reference to a com.esri.arcgis.display.IDisplay (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 |