Class PNGWriter
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.model.PNGWriter
-
public class PNGWriter extends java.lang.Object
Creates an .PNG file for a test case.- Version:
- 1.7
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JFrame
frame
private GeometryEditPanel
geometryEditPanel
private static int
IMAGE_HEIGHT
private static int
IMAGE_WIDTH
private java.io.File
outputDirectory
private static int
STACK_TRACE_DEPTH
-
Constructor Summary
Constructors Constructor Description PNGWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
createPNGFile(java.lang.String filenameNoPath, Geometry a, Geometry b, Geometry result, int imageWidth, int imageHeight)
void
write(java.io.File outputDirectory, TestCaseEdit testCase, PrecisionModel precisionModel)
-
-
-
Field Detail
-
IMAGE_WIDTH
private static final int IMAGE_WIDTH
- See Also:
- Constant Field Values
-
IMAGE_HEIGHT
private static final int IMAGE_HEIGHT
- See Also:
- Constant Field Values
-
STACK_TRACE_DEPTH
private static final int STACK_TRACE_DEPTH
- See Also:
- Constant Field Values
-
geometryEditPanel
private GeometryEditPanel geometryEditPanel
-
frame
private javax.swing.JFrame frame
-
outputDirectory
private java.io.File outputDirectory
-
-
Method Detail
-
write
public void write(java.io.File outputDirectory, TestCaseEdit testCase, PrecisionModel precisionModel) throws java.io.IOException
- Throws:
java.io.IOException
-
-