- java.lang.Object
-
- org.praxislive.video.render.Surface
-
- Direct Known Subclasses:
BufferedImageSurface,PGLSurface
public abstract class Surface extends Object
-
-
Constructor Summary
Constructors Constructor Description Surface(int width, int height, boolean alpha)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleancheckCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)abstract voidclear()abstract voidcopy(Surface source)SurfacecreateSurface()abstract SurfacecreateSurface(int width, int height, boolean alpha)intgetHeight()abstract intgetModCount()intgetWidth()booleanhasAlpha()abstract booleanisClear()voidprocess(SurfaceOp op)voidprocess(SurfaceOp op, Surface input)abstract voidprocess(SurfaceOp op, Surface... inputs)abstract voidrelease()
-
-
-
Method Detail
-
getWidth
public final int getWidth()
-
getHeight
public final int getHeight()
-
hasAlpha
public final boolean hasAlpha()
-
process
public void process(SurfaceOp op)
-
getModCount
public abstract int getModCount()
-
clear
public abstract void clear()
-
isClear
public abstract boolean isClear()
-
release
public abstract void release()
-
copy
public abstract void copy(Surface source)
-
checkCompatible
public abstract boolean checkCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)
-
createSurface
public abstract Surface createSurface(int width, int height, boolean alpha)
-
createSurface
public Surface createSurface()
-
-