com.partnersoft.v3x.graphics.DXF
Class DXFLine

java.lang.Object
  extended by com.partnersoft.v3x.graphics.DrawingElement
      extended by com.partnersoft.v3x.graphics.DXF.DXFDrawingElement
          extended by com.partnersoft.v3x.graphics.DXF.DXFLine
All Implemented Interfaces:
java.io.Serializable

public class DXFLine
extends DXFDrawingElement

A DXF line element.

See Also:
Serialized Form

Constructor Summary
DXFLine(java.lang.String layer, Coord3D p1, Coord3D p2)
          Creates a line from p1 to p2.
 
Method Summary
 java.util.Iterator getEntities()
          Returns the list of DXFEntities that represent this element.
 java.lang.String lineType()
           
 void lineType(java.lang.String newLineType)
           
 double lineTypeScale()
           
 void lineTypeScale(double newLineTypeScale)
           
 
Methods inherited from class com.partnersoft.v3x.graphics.DXF.DXFDrawingElement
getLayer, setLayer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DXFLine

public DXFLine(java.lang.String layer,
               Coord3D p1,
               Coord3D p2)
Creates a line from p1 to p2.

Method Detail

lineType

public java.lang.String lineType()

lineType

public void lineType(java.lang.String newLineType)

lineTypeScale

public double lineTypeScale()

lineTypeScale

public void lineTypeScale(double newLineTypeScale)

getEntities

public java.util.Iterator getEntities()
Returns the list of DXFEntities that represent this element.

Specified by:
getEntities in class DXFDrawingElement