Class DxfExport
java.lang.Object
it.betastudio.adbtoolbox.libs.DxfExport
- Author:
- Beta Studio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidvoidvoidvoidvoidwriteHeader(double minX, double minY, double maxX, double maxY) voidwriteLayer(String layName, int colourNr) voidvoidvoidwriteLineType(String layerName, String lineType, double p1x, double p1y, double p2x, double p2y) voidwriteLwPolyLine(double[][] vertices) voidwritePolyline(String layName, double[][] vertices) voidwritePolyline(String layName, String lineType, double[][] vertices, int colourNr) voidvoidvoidvoidvoidwriteText(String layName, double alignPoint1x, double alignPoint1y, double alignPoint1z, double alignPoint2x, double alignPoint2y, double alignPoint2z, int textHight, double textRotation, int horizJust, int vertAlign, String text) voidwriteVPort(double centerX, double centerY, double minX, double minY, double maxX, double maxY)
-
Constructor Details
-
DxfExport
public DxfExport()
-
-
Method Details
-
writeHeader
public void writeHeader(double minX, double minY, double maxX, double maxY) -
writeStartSec
public void writeStartSec() -
writeEndSec
public void writeEndSec() -
writeTablesStart
public void writeTablesStart() -
writeTableStart
public void writeTableStart() -
writeTableEnd
public void writeTableEnd() -
writeLayersStart
public void writeLayersStart() -
writeLayer
-
writeVPort
public void writeVPort(double centerX, double centerY, double minX, double minY, double maxX, double maxY) -
writeEntStart
public void writeEntStart() -
writeAppId
public void writeAppId() -
writeEnding
public void writeEnding() -
writeLine
-
writeLineType
public void writeLineType(String layerName, String lineType, double p1x, double p1y, double p2x, double p2y) - Parameters:
layerName- the layer namelineType- ( DASHED - DOTTED -DOTTINY etc)p1x- x value of the first pointp1y- y value of the first pointp2x- x value of the second pointp2y- y value of the second point
-
writePolyline
-
writePolyline
-
writeLwPolyLine
public void writeLwPolyLine(double[][] vertices) -
writeText
-
exportDxf
-