Class ImageUtil
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.ImageUtil
-
public class ImageUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
IMAGE_FORMAT_NAME_PNG
-
Constructor Summary
Constructors Constructor Description ImageUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
saveImageToClipboard(Component comp, String formatName)
static void
writeImage(Component comp, String filename, String formatName)
-
-
-
Field Detail
-
IMAGE_FORMAT_NAME_PNG
public static String IMAGE_FORMAT_NAME_PNG
-
-
Method Detail
-
saveImageToClipboard
public static void saveImageToClipboard(Component comp, String formatName) throws IOException
- Throws:
IOException
-
writeImage
public static void writeImage(Component comp, String filename, String formatName) throws IOException
- Throws:
IOException
-
-