|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.iver.cit.jdwglib.dwg.DwgObject
com.iver.cit.jdwglib.dwg.objects.DwgLayer
The DwgLayer class represents a DWG Layer
Constructor Summary | |
DwgLayer()
|
Method Summary | |
int |
getColor()
|
java.lang.String |
getName()
|
void |
readDwgLayerV15(int[] data,
int offset)
Read a Layer in the DWG format Version 15 |
void |
setColor(int color)
|
void |
setName(java.lang.String name)
|
Methods inherited from class com.iver.cit.jdwglib.dwg.DwgObject |
getExtendedData, getGraphicData, getHandle, getLayerHandle, getLayerHandleCode, getLinetypeFlags, getMode, getNumReactors, getPlotstyleFlags, getSizeInBits, getSubEntityHandle, getType, getVersion, getXDicObjHandle, isGraphicsFlag, isNoLinks, readObjectHeaderV15, readObjectTailV15, setExtendedData, setGraphicData, setGraphicsFlag, setHandle, setLayerHandle, setLayerHandleCode, setLinetypeFlags, setMode, setNoLinks, setNumReactors, setPlotstyleFlags, setSizeInBits, setSubEntityHandle, setType, setVersion, setXDicObjHandle |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DwgLayer()
Method Detail |
public void readDwgLayerV15(int[] data, int offset) throws java.lang.Exception
data
- Array of unsigned bytes obtained from the DWG binary fileoffset
- The current bit offset where the value begins
java.lang.Exception
- If an unexpected bit value is found in the DWG file. Occurs
when we are looking for LwPolylines.public int getColor()
getColor
in class DwgObject
public void setColor(int color)
setColor
in class DwgObject
color
- The color to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |