- java.lang.Object
-
- org.praxislive.video.pgl.code.userapi.PImage
-
- Direct Known Subclasses:
PGraphics2D
,PGraphics3D
public abstract class PImage extends Object
-
-
Constructor Summary
Constructors Constructor Description PImage(int width, int height)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <T> Optional<T>
find(Class<T> type)
Search for an instance of the given type.protected abstract processing.core.PImage
unwrap(PGLContext context)
-
-
-
Method Detail
-
find
public <T> Optional<T> find(Class<T> type)
Search for an instance of the given type.- Type Parameters:
T
-- Parameters:
type
- class to search for- Returns:
- Optional wrapping the result if found, or empty if not
-
unwrap
protected abstract processing.core.PImage unwrap(PGLContext context)
-
-