Class PNGWriter
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.model.PNGWriter
-
public class PNGWriter extends java.lang.ObjectCreates an .PNG file for a test case.- Version:
- 1.7
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JFrameframeprivate GeometryEditPanelgeometryEditPanelprivate static intIMAGE_HEIGHTprivate static intIMAGE_WIDTHprivate java.io.FileoutputDirectoryprivate static intSTACK_TRACE_DEPTH
-
Constructor Summary
Constructors Constructor Description PNGWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcreatePNGFile(java.lang.String filenameNoPath, Geometry a, Geometry b, Geometry result, int imageWidth, int imageHeight)voidwrite(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
-
-