public class GwtApplicationConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
alpha
whether to include an alpha channel in the color buffer to combine the color buffer with the rest of the webpage
effectively allows transparent backgrounds in GWT, at a performance cost.
|
boolean |
antialiasing
whether to enable antialiasing
|
java.lang.String |
canvasId
the id of a canvas element to be used as the drawing area, can be null in which case a Panel and Canvas are added to the
body element of the DOM
|
int |
height
the height of the drawing area in pixels
|
TextArea |
log
a TextArea to log messages to, can be null in which case a TextArea will be added to the body element of the DOM.
|
boolean |
preferFlash
whether SoundManager2 should prefer to use flash instead of html5 audio (it should fall back if not available)
|
boolean |
premultipliedAlpha
wether to use premultipliedalpha, may have performance impact
|
boolean |
preserveDrawingBuffer
preserve the back buffer, needed if you fetch a screenshot via canvas#toDataUrl, may have performance impact
|
Panel |
rootPanel
the Panel to add the WebGL canvas to, can be null in which case a Panel is added automatically to the body element of the
DOM
|
boolean |
stencil
whether to use a stencil buffer
|
boolean |
useDebugGL
whether to use debugging mode for OpenGL calls.
|
int |
width
the width of the drawing area in pixels
|
Constructor and Description |
---|
GwtApplicationConfiguration(int width,
int height) |
public int width
public int height
public boolean stencil
public boolean antialiasing
public Panel rootPanel
public java.lang.String canvasId
public TextArea log
public boolean useDebugGL
public boolean preferFlash
public boolean preserveDrawingBuffer
public boolean alpha
public boolean premultipliedAlpha