public class DXFLayer
extends java.lang.Object
| Constructor and Description |
|---|
DXFLayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDXFEntity(DXFEntity entity) |
Bounds |
getBounds() |
Bounds |
getBounds(boolean onModelspace)
Get the bounds for the given filter flag.
|
int |
getColor() |
DXFDocument |
getDXFDocument() |
java.util.List |
getDXFEntities(java.lang.String type)
Returns the list of the DXFenetities of the Type or null.
|
DXFEntity |
getDXFEntityByID(java.lang.String id)
Gets the
|
java.util.Iterator |
getDXFEntityTypeIterator() |
int |
getFlags() |
java.lang.String |
getLineType() |
int |
getLineWeight() |
java.lang.String |
getName() |
java.lang.String |
getPlotStyle() |
boolean |
hasDXFEntities(java.lang.String type) |
boolean |
isFrozen() |
boolean |
isVisible() |
void |
removeDXFEntity(DXFEntity entity) |
void |
setColor(int color) |
void |
setDXFDocument(DXFDocument doc) |
void |
setFlags(int flags) |
void |
setLineType(java.lang.String ltype) |
void |
setLineWeight(int lineWeight) |
void |
setName(java.lang.String name) |
void |
setPlotStyle(java.lang.String plotStyle) |
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public void addDXFEntity(DXFEntity entity)
public void removeDXFEntity(DXFEntity entity)
public void setDXFDocument(DXFDocument doc)
public DXFDocument getDXFDocument()
public Bounds getBounds()
public Bounds getBounds(boolean onModelspace)
onModelspace - public java.util.List getDXFEntities(java.lang.String type)
type - public boolean hasDXFEntities(java.lang.String type)
public java.util.Iterator getDXFEntityTypeIterator()
public DXFEntity getDXFEntityByID(java.lang.String id)
id - of thewith the specified ID.,
DXFEntity,
with the specified ID or null if there is no,
with the specified IDpublic int getColor()
public void setColor(int color)
public void setLineType(java.lang.String ltype)
public java.lang.String getLineType()
public int getFlags()
public void setFlags(int flags)
flags - The flags to set.public boolean isVisible()
public boolean isFrozen()
public int getLineWeight()
public void setLineWeight(int lineWeight)
public java.lang.String getPlotStyle()
public void setPlotStyle(java.lang.String plotStyle)