public class ScreenShotHelper
extends java.lang.Object
Constructor and Description |
---|
ScreenShotHelper() |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
createScreenshot(int width,
int height,
Framebuffer framebufferIn) |
static ITextComponent |
saveScreenshot(java.io.File gameDirectory,
int width,
int height,
Framebuffer buffer) |
static ITextComponent |
saveScreenshot(java.io.File gameDirectory,
java.lang.String screenshotName,
int width,
int height,
Framebuffer buffer) |
public static ITextComponent saveScreenshot(java.io.File gameDirectory, int width, int height, Framebuffer buffer)
public static ITextComponent saveScreenshot(java.io.File gameDirectory, java.lang.String screenshotName, int width, int height, Framebuffer buffer)
public static java.awt.image.BufferedImage createScreenshot(int width, int height, Framebuffer framebufferIn)