public class GifFrame extends Object
Constructor and Description |
---|
GifFrame(BufferedImage image,
int delay,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
static GifFrame[] |
fromGif(InputStream stream) |
int |
getDuration() |
int |
getHeight() |
BufferedImage |
getImage() |
int |
getWidth() |
GifFrame |
resize(BufferedImage image,
int width,
int height) |
public GifFrame(BufferedImage image, int delay, int width, int height)
public BufferedImage getImage()
public int getDuration()
public int getWidth()
public int getHeight()
public GifFrame resize(BufferedImage image, int width, int height)
public static GifFrame[] fromGif(InputStream stream) throws IOException
IOException
Copyright © 2021. All rights reserved.