Class DxfTABLE_LTYPE_ITEM
- java.lang.Object
-
- org.hortonmachine.gears.io.dxfdwg.libs.dxf.DxfTABLE_ITEM
-
- org.hortonmachine.gears.io.dxfdwg.libs.dxf.DxfTABLE_LTYPE_ITEM
-
public class DxfTABLE_LTYPE_ITEM extends DxfTABLE_ITEM
The LTYPE item in the TABLES section There is a static reader to read the item in a DXF file and a toString method able to write it in a DXF form- Version:
- 0.5.0
- Author:
- Micha�l Michaud
-
-
Constructor Summary
Constructors Constructor Description DxfTABLE_LTYPE_ITEM(String name, int flags)DxfTABLE_LTYPE_ITEM(String name, int flags, String description, int alignment, float patternLength, float[] pattern)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAlignment()StringgetDescription()float[]getPattern()floatgetPatternLength()static MapreadTable(RandomAccessFile raf)voidsetAlignment(int alignment)voidsetDescription(String description)voidsetPattern(float[] pattern)voidsetPatternLength(float patternLength)StringtoString()
-
-
-
Method Detail
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getAlignment
public int getAlignment()
-
setAlignment
public void setAlignment(int alignment)
-
getPatternLength
public float getPatternLength()
-
setPatternLength
public void setPatternLength(float patternLength)
-
getPattern
public float[] getPattern()
-
setPattern
public void setPattern(float[] pattern)
-
readTable
public static Map readTable(RandomAccessFile raf) throws IOException
- Throws:
IOException
-
toString
public String toString()
- Overrides:
toStringin classDxfTABLE_ITEM
-
-