- 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 booleancheckCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)voidclear()voidcopy(Surface source)SurfacecreateSurface(int width, int height, boolean alpha)protected BufferedImagegetImage()intgetModCount()booleanisClear()static BufferedImageSurfaceload(URI location)voidprocess(SurfaceOp op, Surface... inputs)voidrelease()voidsave(String type, File file)
-
-
-
Method Detail
-
createSurface
public Surface createSurface(int width, int height, boolean alpha)
- Specified by:
createSurfacein classSurface
-
getImage
protected BufferedImage getImage()
-
checkCompatible
public boolean checkCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)
- Specified by:
checkCompatiblein classSurface
-
save
public void save(String type, File file) throws IOException
- Throws:
IOException
-
getModCount
public int getModCount()
- Specified by:
getModCountin classSurface
-
load
public static BufferedImageSurface load(URI location) throws IOException
- Throws:
IOException
-
-