Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DXFLayer
public DXFLayer()
getName
public java.lang.String getName()
- Returns:
- Returns the name.
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
addDXFEntity
public void addDXFEntity(DXFEntity entity)
removeDXFEntity
public void removeDXFEntity(DXFEntity entity)
setDXFDocument
public void setDXFDocument(DXFDocument doc)
getDXFDocument
public DXFDocument getDXFDocument()
getBounds
public Bounds getBounds()
getBounds
public Bounds getBounds(boolean onModelspace)
- Get the bounds for the given filter flag. If true the bounds contains only
entity bounds which are on model space. Else returns the bounds which contains the entity bounds which are on
paperspace.
- Parameters:
onModelspace
-
- Returns:
getDXFEntities
public java.util.List getDXFEntities(java.lang.String type)
- Returns the list of the DXFenetities of the Type or null.
- Parameters:
type
-
- Returns:
- List or null
hasDXFEntities
public boolean hasDXFEntities(java.lang.String type)
getDXFEntityTypeIterator
public java.util.Iterator getDXFEntityTypeIterator()
- Returns:
- a iterator over all entity types of this layer
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
getColor
public int getColor()
setColor
public void setColor(int color)
setLineType
public void setLineType(java.lang.String ltype)
getLineType
public java.lang.String getLineType()
getFlags
public int getFlags()
- Returns:
- Returns the flags.
setFlags
public void setFlags(int flags)
- Parameters:
flags
- The flags to set.
isVisible
public boolean isVisible()
isFrozen
public boolean isFrozen()
getLineWeight
public int getLineWeight()
setLineWeight
public void setLineWeight(int lineWeight)
getPlotStyle
public java.lang.String getPlotStyle()
setPlotStyle
public void setPlotStyle(java.lang.String plotStyle)