Class SourceShapeExporter
- java.lang.Object
-
- io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter
-
- All Implemented Interfaces:
ShapeExporter
public class SourceShapeExporter extends java.lang.Object implements ShapeExporter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSourceShapeExporter.Builderstatic classSourceShapeExporter.PaddedOutputStream
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexport(Shape shape, java.io.OutputStream outputStream)Export a single shape to the OutputStream.voidexport(ShapeTable shapeTable, java.io.OutputStream outputStream)Export the entire shape table to the OutputStream.voidexportShapeAsBitmap(Shape shape, java.io.PrintWriter pw)voidexportShapeAsLongCommands(Shape shape, java.io.PrintWriter pw)voidexportShapeAsShortCommands(Shape shape, java.io.PrintWriter pw)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.applecommander.bastools.api.shapes.ShapeExporter
export, export, export, export
-
-
-
-
Method Detail
-
export
public void export(Shape shape, java.io.OutputStream outputStream) throws java.io.IOException
Description copied from interface:ShapeExporterExport a single shape to the OutputStream.- Specified by:
exportin interfaceShapeExporter- Throws:
java.io.IOException
-
export
public void export(ShapeTable shapeTable, java.io.OutputStream outputStream) throws java.io.IOException
Description copied from interface:ShapeExporterExport the entire shape table to the OutputStream.- Specified by:
exportin interfaceShapeExporter- Throws:
java.io.IOException
-
exportShapeAsBitmap
public void exportShapeAsBitmap(Shape shape, java.io.PrintWriter pw)
-
exportShapeAsShortCommands
public void exportShapeAsShortCommands(Shape shape, java.io.PrintWriter pw)
-
exportShapeAsLongCommands
public void exportShapeAsLongCommands(Shape shape, java.io.PrintWriter pw)
-
-