|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITextPath
Provides access to members that control the text path.
This interface provides access to the properties and methods of the various text path types used for drawing a TextElement with a TextSymbol.
Commonly accessed properties include the XOffset and YOffset as well as the Geometry. While IElement.Geometry may provide a shortcut to the geometry of a TextElement, it is recommended that you determine the type of text path you have prior to changing the Geometry. For instance, the raw geometry of an OverposterTextPath should never be edited. The Geometry of this path type should be obtained, smoothed, and then included in a new SimpleTextPath for that TextSymbol/TextElement.
Method Summary | |
---|---|
IGeometry |
getGeometry()
The geometry used for the path. |
double |
getXOffset()
The X offset value. |
double |
getYOffset()
The Y offset value. |
void |
next(double[] x,
double[] y,
double[] angle)
Returns the next coordinate. |
void |
reset()
Resets the coordinate enumerator. |
void |
setGeometryByRef(IGeometry geometry)
The geometry used for the path. |
void |
setup(int hDC,
ITransformation transformation,
ITextSymbol textSym)
Set up items needed by text path. |
void |
setXOffset(double xOffset)
The X offset value. |
void |
setYOffset(double yOffset)
The Y offset value. |
Method Detail |
---|
void setup(int hDC, ITransformation transformation, ITextSymbol textSym) throws IOException, AutomationException
hDC
- The hDC (A COM typedef) (in)transformation
- A reference to a com.esri.arcgis.geometry.ITransformation (in)textSym
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometry getGeometry() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGeometryByRef(IGeometry geometry) throws IOException, AutomationException
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getXOffset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setXOffset(double xOffset) throws IOException, AutomationException
xOffset
- The xOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getYOffset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setYOffset(double yOffset) throws IOException, AutomationException
yOffset
- The yOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void next(double[] x, double[] y, double[] angle) throws IOException, AutomationException
x
- The x (out: use single element array)y
- The y (out: use single element array)angle
- The angle (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void reset() 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 |