public class DXFLeader extends DXFEntity
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
arrowEnabled |
protected double |
arrowHeadSize |
protected java.util.List |
coordinates |
protected int |
creationType |
protected boolean |
hookline |
protected int |
hooklineDirecton |
protected Point |
horizontalDirection |
protected Point |
lastOffsetInsertion |
protected Point |
lastOffsetText |
protected int |
pathType |
protected double |
scaleFactor |
protected java.lang.String |
styleName |
protected double |
textGap |
protected double |
textHeight |
protected java.lang.String |
textID |
protected double |
textWidth |
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile| Constructor and Description |
|---|
DXFLeader() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCoordinate(Point vertex) |
double |
getArrowHeadSize() |
Bounds |
getBounds() |
Point |
getCoordinateAt(int index) |
int |
getCoordinateCount() |
java.util.Iterator |
getCoordinateIterator() |
int |
getCreationType() |
int |
getHooklineDirecton() |
Point |
getHorizontalDirection() |
Point |
getLastOffsetInsertion() |
Point |
getLastOffsetText() |
double |
getLength()
Returns the length of the entity or 0 if the entity has no length
|
int |
getPathType() |
double |
getScaleFactor() |
java.lang.String |
getStyleNameID() |
double |
getTextGap() |
double |
getTextHeight() |
java.lang.String |
getTextID() |
double |
getTextWidth() |
java.lang.String |
getType() |
boolean |
isArrowEnabled() |
boolean |
isHookline() |
boolean |
isSplinePath() |
void |
setArrowEnabled(boolean arrowEnabled) |
void |
setArrowHeadSize(double arrowHeadSize) |
void |
setCreationType(int creationType) |
void |
setHookline(boolean hookline) |
void |
setHooklineDirecton(int hooklineDirecton) |
void |
setHorizontalDirection(Point horizontalDirection) |
void |
setLastOffsetInsertion(Point lastOffsetInsertion) |
void |
setLastOffsetText(Point lastOffsetText) |
void |
setPathType(int pathType) |
void |
setScaleFactor(double scaleFactor) |
void |
setStyleNameID(java.lang.String styleName) |
void |
setTextGap(double textGap) |
void |
setTextHeight(double textHeight) |
void |
setTextID(java.lang.String textID) |
void |
setTextWidth(double textWidth) |
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, setVisibileprotected java.lang.String styleName
protected double arrowHeadSize
protected double textGap
protected double scaleFactor
protected double textWidth
protected double textHeight
protected java.util.List coordinates
protected int pathType
protected int creationType
protected int hooklineDirecton
protected boolean hookline
protected Point horizontalDirection
protected Point lastOffsetText
protected Point lastOffsetInsertion
protected boolean arrowEnabled
protected java.lang.String textID
public java.lang.String getTextID()
public void setTextID(java.lang.String textID)
textID - The textID to set.public double getArrowHeadSize()
public void setArrowHeadSize(double arrowHeadSize)
arrowHeadSize - The arrowHeadSize to set.public int getCreationType()
public void setCreationType(int creationType)
creationType - The creationType to set.public boolean isHookline()
public void setHookline(boolean hookline)
hookline - The hookline to set.public int getHooklineDirecton()
public void setHooklineDirecton(int hooklineDirecton)
hooklineDirecton - The hooklineDirecton to set.public Point getHorizontalDirection()
public void setHorizontalDirection(Point horizontalDirection)
horizontalDirection - The horizontalDirection to set.public Point getLastOffsetInsertion()
public void setLastOffsetInsertion(Point lastOffsetInsertion)
lastOffsetInsertion - The lastOffsetInsertion to set.public Point getLastOffsetText()
public void setLastOffsetText(Point lastOffsetText)
lastOffsetText - The lastOffsetText to set.public int getPathType()
public void setPathType(int pathType)
pathType - The pathType to set.public double getScaleFactor()
public void setScaleFactor(double scaleFactor)
scaleFactor - The scaleFactor to set.public java.lang.String getStyleNameID()
public void setStyleNameID(java.lang.String styleName)
styleName - The styleName to set.public double getTextGap()
public void setTextGap(double textGap)
textGap - The textGap to set.public double getTextHeight()
public void setTextHeight(double textHeight)
textHeight - The textHeight to set.public double getTextWidth()
public void setTextWidth(double textWidth)
textWidth - The textWidth to set.public void addCoordinate(Point vertex)
public int getCoordinateCount()
public Point getCoordinateAt(int index)
public java.util.Iterator getCoordinateIterator()
public boolean isArrowEnabled()
public void setArrowEnabled(boolean arrowEnabled)
arrowEnabled - The arrowEnabled to set.public boolean isSplinePath()