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
|
boolean |
disableAudio
If true, SoundManager2 will not be used.
|
OrientationLockType |
fullscreenOrientation
screen-orientation to attempt locking as the application enters full-screen-mode.
|
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 |
openURLInNewWindow |
boolean |
preferFlash
whether SoundManager2 should prefer to use flash instead of html5 audio (it should fall back if not available)
|
boolean |
premultipliedAlpha
whether 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 |
useAccelerometer
whether to use the accelerometer.
|
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 boolean disableAudio
Application.getAudio()
returns null and the SoundManager2 file
are not used.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
public OrientationLockType fullscreenOrientation
public boolean openURLInNewWindow
public boolean useAccelerometer