gestalt.context
Class DisplayCapabilities
java.lang.Object
gestalt.context.DisplayCapabilities
public class DisplayCapabilities
- extends java.lang.Object
is a structure of properties defining the window. some of those properties
need to be set before the window is instantiated, others can be set at
runtime.
|
Constructor Summary |
DisplayCapabilities()
|
DisplayCapabilities(DisplayCapabilities theDisplayCapabilities)
|
DisplayCapabilities(java.lang.String theName,
int theWidth,
int theHeight,
Vector2i theLocation,
Vector2i theCanvasLocation,
boolean theUndecorated,
boolean theFullscreen,
boolean theCentered,
Color theBackgroundcolor,
int theAntialiasinglevel,
boolean theCursor,
boolean theHeadless,
boolean theSwitchResolution,
boolean theSyncToVBlank,
int theDevice,
int theRenderer)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
public java.lang.String name
width
public int width
height
public int height
location
public Vector2i location
canvaslocation
public Vector2i canvaslocation
undecorated
public boolean undecorated
fullscreen
public boolean fullscreen
centered
public boolean centered
backgroundcolor
public Color backgroundcolor
antialiasinglevel
public int antialiasinglevel
cursor
public boolean cursor
headless
public boolean headless
switchresolution
public boolean switchresolution
synctovblank
public boolean synctovblank
device
public int device
renderer
public int renderer
DisplayCapabilities
public DisplayCapabilities()
DisplayCapabilities
public DisplayCapabilities(java.lang.String theName,
int theWidth,
int theHeight,
Vector2i theLocation,
Vector2i theCanvasLocation,
boolean theUndecorated,
boolean theFullscreen,
boolean theCentered,
Color theBackgroundcolor,
int theAntialiasinglevel,
boolean theCursor,
boolean theHeadless,
boolean theSwitchResolution,
boolean theSyncToVBlank,
int theDevice,
int theRenderer)
DisplayCapabilities
public DisplayCapabilities(DisplayCapabilities theDisplayCapabilities)
getFromFile
public static DisplayCapabilities getFromFile(java.io.InputStream theFilename)
set
public void set(DisplayCapabilities theDisplayCapabilities)
getRendererFromString
public static int getRendererFromString(java.lang.String renderer)
getScreenSize
public static Vector2i getScreenSize()
listDisplayDevices
public static void listDisplayDevices()
main
public static void main(java.lang.String[] args)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009