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 |
JUSTIFICATION_TOP
public static final int JUSTIFICATION_TOP
- See Also:
- Constant Field Values
JUSTIFICATION_ZERO
public static final int JUSTIFICATION_ZERO
- See Also:
- Constant Field Values
JUSTIFICATION_BOTTOM
public static final int JUSTIFICATION_BOTTOM
- See Also:
- Constant Field Values
scale
protected double scale
startPoint
protected Point startPoint
mlineSegments
protected java.util.List mlineSegments
lineCount
protected int lineCount
justification
protected int justification
mLineStyleID
protected java.lang.String mLineStyleID
mLineStyleName
protected java.lang.String mLineStyleName
DXFMLine
public DXFMLine()
getBounds
public Bounds getBounds()
- Specified by:
getBounds
in class DXFEntity
getType
public java.lang.String getType()
- Specified by:
getType
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:
addDXFMLineSegement
public void addDXFMLineSegement(DXFMLineSegment seg)
getDXFMLineSegmentCount
public int getDXFMLineSegmentCount()
getDXFMLineSegment
public DXFMLineSegment getDXFMLineSegment(int index)
getScale
public double getScale()
setScale
public void setScale(double scale)
getStartPoint
public Point getStartPoint()
setStartPoint
public void setStartPoint(Point startPoint)
getLineCount
public int getLineCount()
setLineCount
public void setLineCount(int lineCount)
getMLineStyleID
public java.lang.String getMLineStyleID()
setMLineStyleID
public void setMLineStyleID(java.lang.String lineStyleID)
getJustification
public int getJustification()
setJustification
public void setJustification(int justification)
getMLineStyleName
public java.lang.String getMLineStyleName()
setMLineStyleName
public void setMLineStyleName(java.lang.String lineStyleName)
toDXFPolylines
protected DXFPolyline[] toDXFPolylines()
isClosed
public boolean isClosed()