public class DXFDocument extends Object
Constructor and Description |
---|
DXFDocument()
Create a new DXFDocument
|
DXFDocument(String documentComment)
Create a new DXF document with the specified comment in its header
|
Modifier and Type | Method and Description |
---|---|
void |
addEntity(DXFEntity entity)
Utility method used by the associated DXFCanvas object.
|
DXFStyle |
addStyle(DXFStyle style)
Utility method used by the associated DXFCanvas object.
|
void |
addTable(DXFTable table)
Utility method used by the associated DXFCanvas object.
|
DXFCanvas |
getCanvas()
Get the DXFCanvas associated with this document for use with standard Canvas drawing operations to generate
a DXF text representation.
|
String |
toDXFString()
Return the DXF text associated with this DXF document.
|
public DXFDocument()
public DXFDocument(String documentComment)
documentComment
- public DXFCanvas getCanvas()
public String toDXFString()
public void addTable(DXFTable table)
table
- A DXFTable instancepublic void addEntity(DXFEntity entity)
entity
- A DXFEntity instance