|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFeatureDraw
Provides access to members that control custom drawing by a feature.
The IFeatureDraw interface is only relevant to custom features, and so it is currently limited to C++ programmers. You would implement IFeatureDraw in order to provide a customised display for a feature, for example displaying buildings as points when zoomed out to a small scale, and as polygons at larger scales.
IFeature,
IFeatureCursor| Method Summary | |
|---|---|
void |
draw(int drawPhase,
IDisplay display,
ISymbol symbol,
boolean symbolInstalled,
IGeometry geometry,
int drawStyle)
Draws the feature on the display. |
IInvalidArea |
getInvalidArea()
The area to be drawn. |
void |
setInvalidAreaByRef(IInvalidArea invalidArea)
The area to be drawn. |
| Method Detail |
|---|
void draw(int drawPhase,
IDisplay display,
ISymbol symbol,
boolean symbolInstalled,
IGeometry geometry,
int drawStyle)
throws IOException,
AutomationException
drawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)display - A reference to a com.esri.arcgis.display.IDisplay (in)symbol - A reference to a com.esri.arcgis.display.ISymbol (in)symbolInstalled - The symbolInstalled (in)geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)drawStyle - A com.esri.arcgis.geodatabase.esriDrawStyle constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setInvalidAreaByRef(IInvalidArea invalidArea)
throws IOException,
AutomationException
invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IInvalidArea getInvalidArea()
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 | ||||||||