Constructor and Description |
---|
DisplayImpl(int width,
int height,
int depth,
int desiredRate,
boolean windowed) |
Modifier and Type | Method and Description |
---|---|
int |
getDepth()
Get current screen depth.
|
int |
getDesiredRate()
Get desired rate (not the real value).
|
int |
getHeight()
Get current screen height.
|
java.lang.String |
getRatio()
Get screen ratio (ex: 4/3).
|
int |
getWidth()
Get current screen width.
|
boolean |
isWindowed()
Get windowed state (true=windowed).
|
public DisplayImpl(int width, int height, int depth, int desiredRate, boolean windowed)
public int getWidth()
Display
public int getHeight()
Display
public int getDepth()
Display
public int getDesiredRate()
Display
getDesiredRate
in interface Display
public boolean isWindowed()
Display
isWindowed
in interface Display