Fields inherited from class org.kabeja.dxf.DXFEntity |
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile |
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 |
DEFAULT_FONT_SIZE
public static final double DEFAULT_FONT_SIZE
- See Also:
- Constant Field Values
VALIGN_BASELINE
public static final int VALIGN_BASELINE
- See Also:
- Constant Field Values
VALIGN_BOTTOM
public static final int VALIGN_BOTTOM
- See Also:
- Constant Field Values
VALIGN_CENTER
public static final int VALIGN_CENTER
- See Also:
- Constant Field Values
VALIGN_TOP
public static final int VALIGN_TOP
- See Also:
- Constant Field Values
ALIGN_LEFT
public static final int ALIGN_LEFT
- See Also:
- Constant Field Values
ALIGN_CENTER
public static final int ALIGN_CENTER
- See Also:
- Constant Field Values
ALIGN_RIGHT
public static final int ALIGN_RIGHT
- See Also:
- Constant Field Values
ALIGN_ALIGNED
public static final int ALIGN_ALIGNED
- See Also:
- Constant Field Values
ALIGN_MIDDLE
public static final int ALIGN_MIDDLE
- See Also:
- Constant Field Values
ALIGN_FIT
public static final int ALIGN_FIT
- See Also:
- Constant Field Values
rotation
protected double rotation
height
protected double height
scale_x
protected double scale_x
oblique_angle
protected double oblique_angle
align_x
protected double align_x
align_y
protected double align_y
align_z
protected double align_z
align
protected int align
valign
protected int valign
text
protected java.lang.String text
textStyle
protected java.lang.String textStyle
p
protected Point p
align_p1
protected Point align_p1
align_p2
protected Point align_p2
upsideDown
protected boolean upsideDown
backward
protected boolean backward
alignmentPointSet
protected boolean alignmentPointSet
top
protected boolean top
bottom
protected boolean bottom
vertical_center
protected boolean vertical_center
textDoc
protected TextDocument textDoc
DXFText
public DXFText()
setDXFDocument
public void setDXFDocument(DXFDocument doc)
- Overrides:
setDXFDocument
in class DXFEntity
getBounds
public Bounds getBounds()
- Specified by:
getBounds
in class DXFEntity
getAlign
public int getAlign()
- Returns:
- Returns the align.
setAlign
public void setAlign(int align)
- Parameters:
align
- The align to set.
getAlignX
public double getAlignX()
- Returns:
- Returns the align_x.
setAlignX
public void setAlignX(double align_x)
- Parameters:
align_x
- The align_x to set.
getAlignY
public double getAlignY()
- Returns:
- Returns the align_y.
setAlignY
public void setAlignY(double align_y)
- Parameters:
align_y
- The align_y to set.
getAlignZ
public double getAlignZ()
- Returns:
- Returns the align_z.
setAlignZ
public void setAlignZ(double align_z)
- Parameters:
align_z
- The align_z to set.
getHeight
public double getHeight()
- Returns:
- Returns the height.
setHeight
public void setHeight(double height)
- Parameters:
height
- The height to set.
getObliqueAngle
public double getObliqueAngle()
- Returns:
- Returns the oblique_angle.
setObliqueAngle
public void setObliqueAngle(double oblique_angle)
- Parameters:
oblique_angle
- The oblique_angle to set.
getRotation
public double getRotation()
- Returns:
- Returns the rotation.
setRotation
public void setRotation(double rotation)
- Parameters:
rotation
- The rotation to set.
getScaleX
public double getScaleX()
- Returns:
- Returns the scale_x.
setScaleX
public void setScaleX(double scale_x)
- Parameters:
scale_x
- The scale_x to set.
getText
public java.lang.String getText()
- Returns:
- Returns the text.
setText
public void setText(java.lang.String text)
- Parameters:
text
- The text to set.
getTextStyle
public java.lang.String getTextStyle()
- Returns:
- Returns the textStyle.
setTextStyle
public void setTextStyle(java.lang.String textStyle)
- Parameters:
textStyle
- The textStyle to set.
getValign
public int getValign()
- Returns:
- Returns the valign.
setValign
public void setValign(int valign)
- Parameters:
valign
- The valign to set.
setX
public void setX(double x)
setY
public void setY(double y)
setZ
public void setZ(double z)
isBackward
public boolean isBackward()
setBackward
public void setBackward(boolean backward)
isUpsideDown
public boolean isUpsideDown()
setUpsideDown
public void setUpsideDown(boolean upsideDown)
getType
public java.lang.String getType()
- Specified by:
getType
in class DXFEntity
isAlignmentPointSet
public boolean isAlignmentPointSet()
- Returns:
- Returns the alignmentPointSet.
setAlignmentPoint
public void setAlignmentPoint(boolean alignmentPoint)
- Parameters:
alignmentPointSet
- The alignmentPointSet to set.
getTextDocument
public TextDocument getTextDocument()
getInsertPoint
public Point getInsertPoint()
getAlignmentPoint
public Point getAlignmentPoint()
calculateAlignmentPoint
public Point calculateAlignmentPoint()
isOmitLineType
public boolean isOmitLineType()
- Overrides:
isOmitLineType
in class DXFEntity
getLength
public double getLength()
- Description copied from class:
DXFEntity
- Returns the length of the entity or 0 if the entity has no length
- Specified by:
getLength
in class DXFEntity
- Returns: