org.kabeja.dxf
Class DXFMText

java.lang.Object
  extended by org.kabeja.dxf.DXFEntity
      extended by org.kabeja.dxf.DXFText
          extended by org.kabeja.dxf.DXFMText

public class DXFMText
extends DXFText

Author:
Field Summary
static int ATTACHMENT_BOTTOM_CENTER
           
static int ATTACHMENT_BOTTOM_LEFT
           
static int ATTACHMENT_BOTTOM_RIGHT
           
static int ATTACHMENT_MIDDLE_CENTER
           
static int ATTACHMENT_MIDDLE_LEFT
           
static int ATTACHMENT_MIDDLE_RIGHT
           
static int ATTACHMENT_TOP_CENTER
           
static int ATTACHMENT_TOP_LEFT
           
static int ATTACHMENT_TOP_RIGHT
           
 
Fields inherited from class org.kabeja.dxf.DXFText
align, ALIGN_ALIGNED, ALIGN_CENTER, ALIGN_FIT, ALIGN_LEFT, ALIGN_MIDDLE, align_p1, align_p2, ALIGN_RIGHT, align_x, align_y, align_z, alignmentPointSet, backward, bottom, DEFAULT_FONT_SIZE, height, oblique_angle, p, rotation, scale_x, text, textDoc, textStyle, top, upsideDown, valign, VALIGN_BASELINE, VALIGN_BOTTOM, VALIGN_CENTER, VALIGN_TOP, vertical_center
 
Fields inherited from class org.kabeja.dxf.DXFEntity
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile
 
Constructor Summary
DXFMText()
           
 
Method Summary
 int getAlignment()
           
 Bounds getBounds()
           
 double getReferenceHeight()
           
 double getReferenceWidth()
           
 double getRotation()
           
 TextDocument getTextDocument()
           
 java.lang.String getType()
           
 boolean isOmitLineType()
           
 void setAttachmentPoint(int value)
           
 void setReferenceHeight(double height)
           
 void setReferenceWidth(double width)
           
 void setText(java.lang.String text)
           
 
Methods inherited from class org.kabeja.dxf.DXFText
calculateAlignmentPoint, getAlign, getAlignmentPoint, getAlignX, getAlignY, getAlignZ, getHeight, getInsertPoint, getLength, getObliqueAngle, getScaleX, getText, getTextStyle, getValign, isAlignmentPointSet, isBackward, isUpsideDown, setAlign, setAlignmentPoint, setAlignX, setAlignY, setAlignZ, setBackward, setDXFDocument, setHeight, setObliqueAngle, setRotation, setScaleX, setTextStyle, setUpsideDown, setValign, setX, setY, setZ
 
Methods inherited from class org.kabeja.dxf.DXFEntity
getColor, getColorRGB, getDXFDocument, getExtrusion, getFlags, getID, getLayerName, getLineType, getLinetypeScaleFactor, getLineWeight, getThickness, getTransparency, isBlockEntity, isModelSpace, isVisibile, setBlockEntity, setColor, setColorRGB, setExtrusion, setExtrusionX, setExtrusionY, setExtrusionZ, setFlags, setID, setLayerName, setLineType, setLinetypeScaleFactor, setLineWeight, setModelSpace, setThickness, setTransparency, setVisibile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTACHMENT_TOP_LEFT

public static final int ATTACHMENT_TOP_LEFT
See Also:
Constant Field Values

ATTACHMENT_TOP_CENTER

public static final int ATTACHMENT_TOP_CENTER
See Also:
Constant Field Values

ATTACHMENT_TOP_RIGHT

public static final int ATTACHMENT_TOP_RIGHT
See Also:
Constant Field Values

ATTACHMENT_MIDDLE_LEFT

public static final int ATTACHMENT_MIDDLE_LEFT
See Also:
Constant Field Values

ATTACHMENT_MIDDLE_CENTER

public static final int ATTACHMENT_MIDDLE_CENTER
See Also:
Constant Field Values

ATTACHMENT_MIDDLE_RIGHT

public static final int ATTACHMENT_MIDDLE_RIGHT
See Also:
Constant Field Values

ATTACHMENT_BOTTOM_LEFT

public static final int ATTACHMENT_BOTTOM_LEFT
See Also:
Constant Field Values

ATTACHMENT_BOTTOM_CENTER

public static final int ATTACHMENT_BOTTOM_CENTER
See Also:
Constant Field Values

ATTACHMENT_BOTTOM_RIGHT

public static final int ATTACHMENT_BOTTOM_RIGHT
See Also:
Constant Field Values
Constructor Detail

DXFMText

public DXFMText()
Method Detail

setAttachmentPoint

public void setAttachmentPoint(int value)

setReferenceWidth

public void setReferenceWidth(double width)

getReferenceWidth

public double getReferenceWidth()

setReferenceHeight

public void setReferenceHeight(double height)

getReferenceHeight

public double getReferenceHeight()

getType

public java.lang.String getType()
Overrides:
getType in class DXFText

getRotation

public double getRotation()
Overrides:
getRotation in class DXFText
Returns:
Returns the rotation.

getTextDocument

public TextDocument getTextDocument()
Overrides:
getTextDocument in class DXFText

setText

public void setText(java.lang.String text)
Overrides:
setText in class DXFText
Parameters:
text - The text to set.

getAlignment

public int getAlignment()

isOmitLineType

public boolean isOmitLineType()
Overrides:
isOmitLineType in class DXFText

getBounds

public Bounds getBounds()
Overrides:
getBounds in class DXFText