|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INewEnvelopeFeedback2
Provides access to members that control creating a new envelope.
Start begins the feedback operation and takes the starting mouse location, while Stop completes the operation. The inherited MoveTo method should typically be called for each MouseMove event between Start and Stop.
When the Stop method is called, it will return an IGeometry representing a rectangular polygon, that is, a polygon with four segments in a rectangle.
The maximum and minimum of this rectangle come from the coordinates of the point given with Start and the point from the MoveTo method to be called. As a result, if MoveTo is never called, then an empty geometry will be returned; the IsEmpty property from IGeometry will return True.
The Constraint property allows you to specify how the feedback will behave and whether or not the feedback is forced to have a particular shape. The default value is zero, or no constraint. The Constraint property can be set at any time but will not have any effect until MoveTo is called.
IMoveEnvelopeFeedback
,
IMoveImageFeedback2
,
INewBezierCurveFeedback
,
INewPolygonFeedback
,
INewMultiPointFeedback
,
IReshapeFeedback
,
IMoveImageFeedback
,
IMoveGeometryFeedback
,
IResizeEnvelopeFeedback2
,
INewDimensionFeedback
,
IResizeEnvelopeFeedback
,
IPolygonMovePointFeedback
,
INewLineFeedback
,
INewCircleFeedback
,
IVertexFeedback
,
IMoveLineFeedback
,
IMovePointFeedback
,
ILineMovePointFeedback
,
INewEnvelopeFeedback2
,
IStretchLineFeedback
,
INewEnvelopeFeedback
,
IMovePolygonFeedback
Method Summary | |
---|---|
double |
getAspectRatio()
The aspect ratio for the custom constraint type. |
int |
getConstraint()
The constraint on this rubberbander. |
IGeometry |
INewEnvelopeFeedback2_stop()
Stops the feedback and returns the shape. |
void |
setAspectRatio(double aspectRatio)
The aspect ratio for the custom constraint type. |
void |
setConstraint(int constrain)
The constraint on this rubberbander. |
void |
start(IPoint point)
Begins a normal feedback at the given point. |
Methods inherited from interface com.esri.arcgis.display.IDisplayFeedback |
---|
getSymbol, moveTo, refresh, setDisplayByRef, setSymbolByRef |
Method Detail |
---|
void start(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.int getConstraint() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setConstraint(int constrain) throws IOException, AutomationException
constrain
- A com.esri.arcgis.display.esriEnvelopeConstraints constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getAspectRatio() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAspectRatio(double aspectRatio) throws IOException, AutomationException
aspectRatio
- The aspectRatio (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometry INewEnvelopeFeedback2_stop() throws IOException, AutomationException
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 |