public static class JavaPlatform.Config extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
appName
If supported by the backend and platform, configures the application's name and initial
window title.
|
boolean |
convertImagesOnLoad
If set, converts images into a format for fast GPU uploads when initially loaded versus
doing it on demand when displayed.
|
boolean |
emulateTouch
If set, emulates Touch and disables Mouse.
|
boolean |
headless
Configures platform in headless mode; useful for unit testing.
|
int |
height
The height of the PlayN window, in pixels.
|
Key |
multiTouchKey
If {link #emulateTouch} is set, sets the pivot for a two-finger touch when pressed.
|
float |
scaleFactor
The graphics scale factor.
|
String |
storageFileName
Dictates the name of the temporary file used by
JavaStorage. |
int |
width
The width of the PlayN window, in pixels.
|
| Constructor and Description |
|---|
JavaPlatform.Config() |
public float scaleFactor
public boolean headless
public String storageFileName
JavaStorage. Configure this if you
want to run multiple sessions without overwriting one another's storage.public int width
public int height
public boolean emulateTouch
public Key multiTouchKey
public boolean convertImagesOnLoad
public String appName
Copyright © 2013. All Rights Reserved.