public class DXFLayer extends DXFEntity
| Modifier and Type | Field and Description |
|---|---|
int |
color |
java.lang.String |
layerName |
appGroupName, handle, insideAppGroup| Constructor and Description |
|---|
DXFLayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyStateFrom(DXFEntity nother)
Copies the attributes from the given DXFEntity.
|
void |
processGroup(int code,
DXFProtoValue value)
Acts on groups; interprets them and populates properties.
|
void |
resetToDefaults()
Resets all values to defaults; useful when reusing objects.
|
public void resetToDefaults()
DXFEntitysuper.resetToDefaults();
resetToDefaults in class DXFEntitypublic void copyStateFrom(DXFEntity nother)
DXFEntity
public void copyState(DXFEntity nother) {
super.copyStateFrom(nother);
someState = nother.someState;
....
copyStateFrom in class DXFEntitypublic void processGroup(int code,
DXFProtoValue value)
// let superclass do its thing, skip any codes inside app-specific
// bracketed section
super.processGroup(code, value);
if (insideAppGroup)
return;
processGroup in interface DXFGroupActorprocessGroup in class DXFEntity