public final class JoGLCanvasFactory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Canvas |
createCanvas(GLAutoDrawable autoDrawable)
Create a canvas from an auto drawable object.
|
static Canvas |
createCanvas(int width,
int height)
Create a canvas for an offscreen rendering.
|
public static Canvas createCanvas(GLAutoDrawable autoDrawable)
autoDrawable - the auto drawable object.public static Canvas createCanvas(int width, int height)
width - the widthheight - the height