- java.lang.Object
-
- org.praxislive.video.render.Surface
-
- org.praxislive.video.render.utils.BufferedImageSurface
-
public class BufferedImageSurface extends Surface
-
-
Constructor Summary
Constructors Constructor Description BufferedImageSurface(int width, int height, boolean alpha)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)
void
clear()
void
copy(Surface source)
Surface
createSurface(int width, int height, boolean alpha)
protected BufferedImage
getImage()
int
getModCount()
boolean
isClear()
static BufferedImageSurface
load(URI location)
void
process(SurfaceOp op, Surface... inputs)
void
release()
void
save(String type, File file)
-
-
-
Method Detail
-
createSurface
public Surface createSurface(int width, int height, boolean alpha)
- Specified by:
createSurface
in classSurface
-
getImage
protected BufferedImage getImage()
-
checkCompatible
public boolean checkCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)
- Specified by:
checkCompatible
in classSurface
-
save
public void save(String type, File file) throws IOException
- Throws:
IOException
-
getModCount
public int getModCount()
- Specified by:
getModCount
in classSurface
-
load
public static BufferedImageSurface load(URI location) throws IOException
- Throws:
IOException
-
-