com.esri.arcgis.display
Interface IDraw

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AppDisplay, IDrawProxy, ScreenDisplay, SimpleDisplay

public interface IDraw
extends java.io.Serializable

COM Interface 'IDraw'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description: 'Provides access to members that control drawing.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID7ef23a93_f475_11d3_9f54_00c04f6bdf0d
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void draw(IGeometry geometry)
          Draws the specified shape.
 void finishDrawing()
          Complete drawing.
 IGeometry getClipRegion()
          Clipping region (polygon or envelope).
 java.lang.Object getCustomProperty()
          Custom property.
 void setCustomProperty(java.lang.Object customProperty)
          Custom property.
 void setSymbol(ISymbol sym)
          Sets the symbol used for drawing.
 void startDrawing(int hDC, short cacheID)
          Prepares the display for drawing.
 

Field Detail

IID7ef23a93_f475_11d3_9f54_00c04f6bdf0d

static final int IID7ef23a93_f475_11d3_9f54_00c04f6bdf0d
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

startDrawing

void startDrawing(int hDC,
                  short cacheID)
                  throws java.io.IOException,
                         AutomationException
Prepares the display for drawing. Specify the device context and the cache to draw to (normally esriNoScreenCache).

Parameters:
hDC - The hDC (A COM typedef) (in)
cacheID - The cacheID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

finishDrawing

void finishDrawing()
                   throws java.io.IOException,
                          AutomationException
Complete drawing.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

void draw(IGeometry geometry)
          throws java.io.IOException,
                 AutomationException
Draws the specified shape.

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

setSymbol

void setSymbol(ISymbol sym)
               throws java.io.IOException,
                      AutomationException
Sets the symbol used for drawing. Four different symbols can be specified simultaneously: Marker, Line, Fill, Text.

Parameters:
sym - A reference to a com.esri.arcgis.display.ISymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCustomProperty

java.lang.Object getCustomProperty()
                                   throws java.io.IOException,
                                          AutomationException
Custom property.

Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCustomProperty

void setCustomProperty(java.lang.Object customProperty)
                       throws java.io.IOException,
                              AutomationException
Custom property.

Parameters:
customProperty - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClipRegion

IGeometry getClipRegion()
                        throws java.io.IOException,
                               AutomationException
Clipping region (polygon or envelope). Use after StartDrawing and before FinishDrawing.

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