com.esri.arcgis.display
Interface IStretchLineFeedback

All Superinterfaces:
IDisplayFeedback, Serializable
All Known Implementing Classes:
StretchLineFeedback

public interface IStretchLineFeedback
extends IDisplayFeedback, Serializable

Provides access to members that control the stretch line display feedback.

Remarks

You can use a StretchLineFeedback object to scale or rotate an existing Polyline object. The scaling and rotation is done about an anchor point. The feedback is moved by shifting the nonanchored end of the polyline by the difference (delta x and delta y) between the current and original mouse locations. The whole polyline is moved to match up with this using a rigid stretch and, as a result, may be both scaled and rotated.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
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 setAnchor(IPoint rhs1)
          The anchor point of the curve.
 void start(IPolyline polyline, IPoint point)
          Begins a move of the given shape (a polyline).
 IPolyline stop()
          Stops the feedback and returns the polyline.
 
Methods inherited from interface com.esri.arcgis.display.IDisplayFeedback
getSymbol, moveTo, refresh, setDisplayByRef, setSymbolByRef
 

Method Detail

start

void start(IPolyline polyline,
           IPoint point)
           throws IOException,
                  AutomationException
Begins a move of the given shape (a polyline).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
polyline - A reference to a com.esri.arcgis.geometry.IPolyline (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stop

IPolyline stop()
               throws IOException,
                      AutomationException
Stops the feedback and returns the polyline.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geometry.IPolyline
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAnchor

void setAnchor(IPoint rhs1)
               throws IOException,
                      AutomationException
The anchor point of the curve.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.