|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.SimpleTextPath
public class SimpleTextPath
Helper object used to align a text string to a geometry.
Constructor Summary | |
---|---|
SimpleTextPath()
Constructs a SimpleTextPath using ArcGIS Engine. |
|
SimpleTextPath(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SimpleTextPath theSimpleTextPath = (SimpleTextPath) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IGeometry |
getGeometry()
The geometry used for the path. |
double |
getXOffset()
The X offset value. |
double |
getYOffset()
The Y offset value. |
int |
hashCode()
the hashcode for this object |
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 |
setupEx(int hDC,
ITransformation transformation,
ITextSymbol textSym,
String text,
Object charMetrics)
Set up items needed by text path, including character metrics information. |
void |
setXOffset(double xOffset)
The X offset value. |
void |
setYOffset(double yOffset)
The Y offset value. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public SimpleTextPath() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SimpleTextPath(Object obj) throws IOException
SimpleTextPath theSimpleTextPath = (SimpleTextPath) obj;
obj
to SimpleTextPath
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setup(int hDC, ITransformation transformation, ITextSymbol textSym) throws IOException, AutomationException
setup
in interface ITextPath
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.public IGeometry getGeometry() throws IOException, AutomationException
getGeometry
in interface ITextPath
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGeometryByRef(IGeometry geometry) throws IOException, AutomationException
setGeometryByRef
in interface ITextPath
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.public double getXOffset() throws IOException, AutomationException
getXOffset
in interface ITextPath
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setXOffset(double xOffset) throws IOException, AutomationException
setXOffset
in interface ITextPath
xOffset
- The xOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getYOffset() throws IOException, AutomationException
getYOffset
in interface ITextPath
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setYOffset(double yOffset) throws IOException, AutomationException
setYOffset
in interface ITextPath
yOffset
- The yOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void next(double[] x, double[] y, double[] angle) throws IOException, AutomationException
next
in interface ITextPath
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.public void reset() throws IOException, AutomationException
reset
in interface ITextPath
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setupEx(int hDC, ITransformation transformation, ITextSymbol textSym, String text, Object charMetrics) throws IOException, AutomationException
setupEx
in interface ITextPath2
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)text
- The text (in)charMetrics
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
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 |