public class DwgText extends DwgObject implements IDwgExtrusionable, IDwg3DTestable, IDwg2FMap, IDwgBlockMember
address, avanzarFlag, color, extendedData, graphicData, graphicsFlag, handle, index, layerHandle, linetypeFlags, mode, noLinks, numReactors, plotstyleFlags, plotStyleHandle, sizeInBits, subEntityHandle, type, version, xDicObjFlag, xDicObjHandle
Constructor and Description |
---|
DwgText(int index) |
Modifier and Type | Method and Description |
---|---|
void |
applyExtrussion() |
Object |
clone() |
protected void |
fill(DwgObject obj) |
Point2D |
getAlignmentPoint() |
int |
getDataFlag() |
double |
getElevation() |
double[] |
getExtrusion() |
int |
getGeneration() |
int |
getGeometryType() |
int |
getHalign() |
double |
getHeight() |
Point2D |
getInsertionPoint() |
double |
getObliqueAngle() |
double |
getRotationAngle() |
double |
getRotationAngleInDegrees() |
String |
getText() |
double |
getThickness() |
int |
getValign() |
double |
getWidthFactor() |
double |
getZ() |
boolean |
has3DData() |
void |
setAlignmentPoint(Point2D alignmentPoint) |
void |
setDataFlag(int dataFlag) |
void |
setElevation(double elevation) |
void |
setExtrusion(double[] extrusion) |
void |
setGeneration(int generation) |
void |
setHalign(int halign) |
void |
setHeight(double height) |
void |
setInsertionPoint(Point2D insertionPoint) |
void |
setObliqueAngle(double obliqueAngle) |
void |
setRotationAngle(double rotationAngle) |
void |
setStyleHandle(DwgHandleReference styleHdl) |
void |
setText(String text) |
void |
setThickness(double thickness) |
void |
setValign(int valign) |
void |
setWidthFactor(double widthFactor) |
Geometry |
toFMapGeometry(boolean is3DFile) |
String |
toFMapString(boolean is3DFile) |
String |
toString() |
void |
transform2Block(double[] bPoint,
Point2D insPoint,
double[] scale,
double rot,
List dwgObjectsWithoutBlocks,
Map handle_objectsWithoutBlocks,
DwgFile callBack) |
addReactorHandle, getAddress, getAvanzar, getColor, getExtendedData, getGeometrySubType, getGraphicData, getHandle, getIndex, getLayerHandle, getLinetypeFlags, getLineTypeHandle, getMode, getNextHandle, getNumReactors, getPlotstyleFlags, getPreviousHandle, getReactorsHandles, getSizeInBits, getSubEntityHandle, getType, getVersion, getXDicObjHandle, hasLayerHandle, hasLineTypeHandle, hasNextHandle, hasPlotStyleHandle, hasPreviousHandle, hasReactorsHandles, hasSubEntityHandle, hasXDicObjHandle, inserta, insertar, isGraphicsFlag, isLyrByLineType, isNoLinks, isXDicObjFlag, reactorsHandlesQuantity, setAddress, setAvanzar, setColor, setExtendedData, setGraphicData, setGraphicsFlag, setHandle, setLayerHandle, setLinetypeFlags, setLineTypeHandle, setLyrByLineType, setMode, setNextHandle, setNoLinks, setNumReactors, setPlotstyleFlags, setPlotStyleHandle, setPreviousHandle, setSizeInBits, setSubEntityHandle, setType, setVersion, setXDicObjFlag, setXDicObjHandle
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGeometrySubType
public int getDataFlag()
public void setDataFlag(int dataFlag)
dataFlag
- The dataFlag to set.public double getHeight()
public void setHeight(double height)
height
- The height to set.public Point2D getInsertionPoint()
public void setInsertionPoint(Point2D insertionPoint)
insertionPoint
- The insertionPoint to set.public double getRotationAngle()
public double getRotationAngleInDegrees()
public void setRotationAngle(double rotationAngle)
rotationAngle
- The rotationAngle to set.public String getText()
public void setText(String text)
text
- The text to set.public double getElevation()
public void setElevation(double elevation)
elevation
- The elevation to set.public double getThickness()
public void setThickness(double thickness)
thickness
- The thickness to set.public double[] getExtrusion()
public Point2D getAlignmentPoint()
public void setAlignmentPoint(Point2D alignmentPoint)
alignmentPoint
- The alignmentPoint to set.public int getGeneration()
public void setGeneration(int generation)
generation
- The generation to set.public int getHalign()
public void setHalign(int halign)
halign
- The halign to set.public double getObliqueAngle()
public void setObliqueAngle(double obliqueAngle)
obliqueAngle
- The obliqueAngle to set.public int getValign()
public void setValign(int valign)
valign
- The valign to set.public double getWidthFactor()
public void setWidthFactor(double widthFactor)
widthFactor
- The widthFactor to set.public void setExtrusion(double[] extrusion)
extrusion
- The extrusion to set.public void applyExtrussion()
applyExtrussion
in interface IDwgExtrusionable
public boolean has3DData()
has3DData
in interface IDwg3DTestable
public double getZ()
getZ
in interface IDwg3DTestable
public Geometry toFMapGeometry(boolean is3DFile) throws CreateGeometryException
toFMapGeometry
in interface IDwg2FMap
CreateGeometryException
public String toFMapString(boolean is3DFile)
toFMapString
in interface IDwg2FMap
public String toString()
public void setStyleHandle(DwgHandleReference styleHdl)
styleHdl
- public void transform2Block(double[] bPoint, Point2D insPoint, double[] scale, double rot, List dwgObjectsWithoutBlocks, Map handle_objectsWithoutBlocks, DwgFile callBack)
transform2Block
in interface IDwgBlockMember
public int getGeometryType()
getGeometryType
in interface IDwg2FMap