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, isOmitLineType, isVisibile, setBlockEntity, setColor, setColorRGB, setDXFDocument, 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 |
styleName
protected java.lang.String styleName
arrowHeadSize
protected double arrowHeadSize
textGap
protected double textGap
scaleFactor
protected double scaleFactor
textWidth
protected double textWidth
textHeight
protected double textHeight
coordinates
protected java.util.List coordinates
pathType
protected int pathType
creationType
protected int creationType
hooklineDirecton
protected int hooklineDirecton
hookline
protected boolean hookline
horizontalDirection
protected Point horizontalDirection
lastOffsetText
protected Point lastOffsetText
lastOffsetInsertion
protected Point lastOffsetInsertion
arrowEnabled
protected boolean arrowEnabled
textID
protected java.lang.String textID
DXFLeader
public DXFLeader()
getTextID
public java.lang.String getTextID()
- Returns:
- Returns the textID.
setTextID
public void setTextID(java.lang.String textID)
- Parameters:
textID
- The textID to set.
getBounds
public Bounds getBounds()
- Specified by:
getBounds
in class DXFEntity
getType
public java.lang.String getType()
- Specified by:
getType
in class DXFEntity
getArrowHeadSize
public double getArrowHeadSize()
- Returns:
- Returns the arrowHeadSize.
setArrowHeadSize
public void setArrowHeadSize(double arrowHeadSize)
- Parameters:
arrowHeadSize
- The arrowHeadSize to set.
getCreationType
public int getCreationType()
- Returns:
- Returns the creationType.
setCreationType
public void setCreationType(int creationType)
- Parameters:
creationType
- The creationType to set.
isHookline
public boolean isHookline()
- Returns:
- Returns the hookline.
setHookline
public void setHookline(boolean hookline)
- Parameters:
hookline
- The hookline to set.
getHooklineDirecton
public int getHooklineDirecton()
- Returns:
- Returns the hooklineDirecton.
setHooklineDirecton
public void setHooklineDirecton(int hooklineDirecton)
- Parameters:
hooklineDirecton
- The hooklineDirecton to set.
getHorizontalDirection
public Point getHorizontalDirection()
- Returns:
- Returns the horizontalDirection.
setHorizontalDirection
public void setHorizontalDirection(Point horizontalDirection)
- Parameters:
horizontalDirection
- The horizontalDirection to set.
getLastOffsetInsertion
public Point getLastOffsetInsertion()
- Returns:
- Returns the lastOffsetInsertion.
setLastOffsetInsertion
public void setLastOffsetInsertion(Point lastOffsetInsertion)
- Parameters:
lastOffsetInsertion
- The lastOffsetInsertion to set.
getLastOffsetText
public Point getLastOffsetText()
- Returns:
- Returns the lastOffsetText.
setLastOffsetText
public void setLastOffsetText(Point lastOffsetText)
- Parameters:
lastOffsetText
- The lastOffsetText to set.
getPathType
public int getPathType()
- Returns:
- Returns the pathType.
setPathType
public void setPathType(int pathType)
- Parameters:
pathType
- The pathType to set.
getScaleFactor
public double getScaleFactor()
- Returns:
- Returns the scaleFactor.
setScaleFactor
public void setScaleFactor(double scaleFactor)
- Parameters:
scaleFactor
- The scaleFactor to set.
getStyleNameID
public java.lang.String getStyleNameID()
- Returns:
- Returns the styleName.
setStyleNameID
public void setStyleNameID(java.lang.String styleName)
- Parameters:
styleName
- The styleName to set.
getTextGap
public double getTextGap()
- Returns:
- Returns the textGap.
setTextGap
public void setTextGap(double textGap)
- Parameters:
textGap
- The textGap to set.
getTextHeight
public double getTextHeight()
- Returns:
- Returns the textHeight.
setTextHeight
public void setTextHeight(double textHeight)
- Parameters:
textHeight
- The textHeight to set.
getTextWidth
public double getTextWidth()
- Returns:
- Returns the textWidth.
setTextWidth
public void setTextWidth(double textWidth)
- Parameters:
textWidth
- The textWidth to set.
addCoordinate
public void addCoordinate(Point vertex)
getCoordinateCount
public int getCoordinateCount()
getCoordinateAt
public Point getCoordinateAt(int index)
getCoordinateIterator
public java.util.Iterator getCoordinateIterator()
isArrowEnabled
public boolean isArrowEnabled()
- Returns:
- Returns the arrowEnabled.
setArrowEnabled
public void setArrowEnabled(boolean arrowEnabled)
- Parameters:
arrowEnabled
- The arrowEnabled to set.
isSplinePath
public boolean isSplinePath()
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: