|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDynamicCompoundMarker
Provides access to dynamic compound marker.
IDynamicCompoundMarker is a helper interface that optimizes the rendering of a marker along with some text labels around it.
The drawing methods can only be used in one of the callback draw methods with the following specific context:
Any usage of the DynamicDisplay drawing API (or OpenGL API) in any other context will result in an unknown behavior.
The DrawCompondMarkerN methods are drawing a Marker with a combination of 1, 2, 4, 8, or 10 text strings around it.
These methods are using a location in Map Coordinates.
The following diagram shows the layout of the DrawCompoundMarker10 method:
Method Summary | |
---|---|
void |
drawCompoundMarker1(IPoint point,
String textTop)
Draws specified point on the dynamic display with one string above it. |
void |
drawCompoundMarker10(IPoint point,
String textTop,
String textBottom,
String textLeft1,
String textLeft2,
String textLeft3,
String textLeft4,
String textRight1,
String textRight2,
String textRight3,
String textRight4)
Draws specified point on the dynamic display with one string on the top of the marker, one string on the bottom and four strings on each side of the marker (left and right). |
void |
drawCompoundMarker2(IPoint point,
String textTop,
String textBottom)
Draws specified point on the dynamic display with a string above and below. |
void |
drawCompoundMarker4(IPoint point,
String textTop,
String textBottom,
String textLeft,
String textRight)
Draws specified point on the dynamic display with a text string on each side of the marker (top, bottom, left and right). |
void |
drawCompoundMarker6(IPoint point,
String textTop,
String textBottom,
String textLeft1,
String textLeft2,
String textRight1,
String textRight2)
Draws specified point on the dynamic display with one string on the top of the marker, one string on the bottom and two strings on each side of the marker (left and right). |
void |
drawCompoundMarker8(IPoint point,
String textTop,
String textBottom,
String textLeft1,
String textLeft2,
String textLeft3,
String textRight1,
String textRight2,
String textRight3)
Draws specified point on the dynamic display with one string on the top of the marker, one string on the bottom and three strings on each side of the marker (left and right). |
void |
getMarkerToTextOffset(float[] xOffset,
float[] yOffset)
The offset of the text from the marker in pixels. |
void |
setMarkerToTextOffset(float xOffset,
float yOffset)
The offset of the text from the marker in pixels. |
Method Detail |
---|
void getMarkerToTextOffset(float[] xOffset, float[] yOffset) throws IOException, AutomationException
Offset is the distance between the marker and the text labels.
X refers to the left and right offsets. Y refers to the top and bottom offsets.
xOffset
- The xOffset (in/out: use single element array)yOffset
- The yOffset (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMarkerToTextOffset(float xOffset, float yOffset) throws IOException, AutomationException
Offset is the distance between the marker and the text labels.
X refers to the left and right offsets. Y refers to the top and bottom offsets.
xOffset
- The xOffset (in)yOffset
- The yOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawCompoundMarker1(IPoint point, String textTop) throws IOException, AutomationException
Draws a marker with a text label on top
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)textTop
- The textTop (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawCompoundMarker2(IPoint point, String textTop, String textBottom) throws IOException, AutomationException
Draws a marker with 2 text labels: 1-top and 1-bottom
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)textTop
- The textTop (in)textBottom
- The textBottom (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawCompoundMarker4(IPoint point, String textTop, String textBottom, String textLeft, String textRight) throws IOException, AutomationException
Draws a marker with 4 text labels: 1-top, 1-bottom, 1-left, 1-right
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)textTop
- The textTop (in)textBottom
- The textBottom (in)textLeft
- The textLeft (in)textRight
- The textRight (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawCompoundMarker6(IPoint point, String textTop, String textBottom, String textLeft1, String textLeft2, String textRight1, String textRight2) throws IOException, AutomationException
Draws a marker with 6 text labels: 1-top, 1-bottom, 2-left, 2-right
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)textTop
- The textTop (in)textBottom
- The textBottom (in)textLeft1
- The textLeft1 (in)textLeft2
- The textLeft2 (in)textRight1
- The textRight1 (in)textRight2
- The textRight2 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawCompoundMarker8(IPoint point, String textTop, String textBottom, String textLeft1, String textLeft2, String textLeft3, String textRight1, String textRight2, String textRight3) throws IOException, AutomationException
Draws a marker with 8 text labels: 1-top, 1-bottom, 3-left, 3-right
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)textTop
- The textTop (in)textBottom
- The textBottom (in)textLeft1
- The textLeft1 (in)textLeft2
- The textLeft2 (in)textLeft3
- The textLeft3 (in)textRight1
- The textRight1 (in)textRight2
- The textRight2 (in)textRight3
- The textRight3 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawCompoundMarker10(IPoint point, String textTop, String textBottom, String textLeft1, String textLeft2, String textLeft3, String textLeft4, String textRight1, String textRight2, String textRight3, String textRight4) throws IOException, AutomationException
Draws a marker with 10 text labels: 1-top, 1-bottom, 4-left, 4-right
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)textTop
- The textTop (in)textBottom
- The textBottom (in)textLeft1
- The textLeft1 (in)textLeft2
- The textLeft2 (in)textLeft3
- The textLeft3 (in)textLeft4
- The textLeft4 (in)textRight1
- The textRight1 (in)textRight2
- The textRight2 (in)textRight3
- The textRight3 (in)textRight4
- The textRight4 (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 |