|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.BezierTextPath
public class BezierTextPath
Helper object used to align a text string to a curve.
A BezierTextPath is a text path that automatically smoothes the input geometry to create a smooth curve for text to be drawn with. While this aides in the construction of curved text path geometries, it is more common to use a SimpleTextPath with a smoothed Bezier curve for greater control over the degree of smoothing.
Constructor Summary | |
---|---|
BezierTextPath()
Constructs a BezierTextPath using ArcGIS Engine. |
|
BezierTextPath(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. BezierTextPath theBezierTextPath = (BezierTextPath) 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 |
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 BezierTextPath() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic BezierTextPath(Object obj) throws IOException
BezierTextPath theBezierTextPath = (BezierTextPath) obj;
obj
to BezierTextPath
.
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 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 |