Field Summary |
static java.lang.String |
TYPE
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static java.lang.String TYPE
DXFBlock
public DXFBlock()
getBounds
public Bounds getBounds()
getDescription
public java.lang.String getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- The description to set.
getReferencePoint
public Point getReferencePoint()
- Returns:
- Returns the p.
setReferencePoint
public void setReferencePoint(Point p)
- Parameters:
p
- The p to set.
addDXFEntity
public void addDXFEntity(DXFEntity entity)
getDXFEntitiesIterator
public java.util.Iterator getDXFEntitiesIterator()
- Returns:
- a iterator over all entities of this block
getLayerID
public java.lang.String getLayerID()
- Returns:
- Returns the layerID.
setLayerID
public void setLayerID(java.lang.String layerID)
- Parameters:
layerID
- The layerID to set.
getName
public java.lang.String getName()
- Returns:
- Returns the name.
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
setDXFDocument
public void setDXFDocument(DXFDocument doc)
- Parameters:
doc
- The doc to set.
getDXFDocument
public DXFDocument getDXFDocument()
- Returns:
- the parent document
getLength
public double getLength()
getDXFEntityByID
public DXFEntity getDXFEntityByID(java.lang.String id)
- Gets the
- Parameters:
id
- of the
- Returns:
- the
- See Also:
with the specified ID.
,
DXFEntity
,
with the specified ID or null if there is no
,
with the specified ID