|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVertexFeedback
Provides access to members that control the vertex feedback.
The VertexFeedback object allows one or more individual segments to be moved on the display by the user. Like the NewMultiPointFeedback, the VertexFeedback does not return an object at the end of the operation and is used for visual feedback only. The segments in question don’t need to belong to the same geometry or even type of geometry. This allows, for example, a segment from a polygon to be moved along with some segments from a polyline or, alternatively, the moving of vertices (and segments) that are part of a shared polygon boundary.
Vertex feedbacks are used to alter paths and rings by moving their vertices and any adjacent segments. Segments are added one by one with either their FromPoint or ToPoint as an anchor. Multiple segments, which may come from different geometry objects, can be moved at the same time. No geometry objects are returned on completion.
IMoveEnvelopeFeedback
,
IMoveImageFeedback2
,
INewBezierCurveFeedback
,
INewPolygonFeedback
,
INewMultiPointFeedback
,
IReshapeFeedback
,
IMoveImageFeedback
,
IMoveGeometryFeedback
,
IResizeEnvelopeFeedback2
,
INewDimensionFeedback
,
IResizeEnvelopeFeedback
,
IPolygonMovePointFeedback
,
INewLineFeedback
,
INewCircleFeedback
,
IVertexFeedback
,
IMoveLineFeedback
,
IMovePointFeedback
,
ILineMovePointFeedback
,
INewEnvelopeFeedback2
,
IStretchLineFeedback
,
INewEnvelopeFeedback
,
IMovePolygonFeedback
Method Summary | |
---|---|
void |
addSegment(ISegment segment,
boolean fromPointIsAnchor)
Adds an edge to rubberband. |
Methods inherited from interface com.esri.arcgis.display.IDisplayFeedback |
---|
getSymbol, moveTo, refresh, setDisplayByRef, setSymbolByRef |
Method Detail |
---|
void addSegment(ISegment segment, boolean fromPointIsAnchor) throws IOException, AutomationException
Adds the segments and specifies which end to use as the anchor point. Each time AddSegment is called, a check is made to see if the segment has already been added; if it has, then it is not added a second time. The methods used to move, symbolize, refresh, and setup the display are accessed through the inherited IDisplayFeedback interface. Since there is no Start method, the first call to MoveTo will begin the feedback operation, that is, draw the feedback, and the feedback will be redrawn with each subsequent MoveTo. To finish the operation, the feedback object should be cleared and the display refreshed.
segment
- A reference to a com.esri.arcgis.geometry.ISegment (in)fromPointIsAnchor
- The fromPointIsAnchor (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 |