public class DisplayMode
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
float |
getAspectRatio()
Gets the aspect ratio used by the graphics device.
|
SurfaceFormat |
getFormat()
Gets a value indicating the surface format of the display mode.
|
int |
getHeight()
Gets a value indicating the screen height, in pixels.
|
Rectangle |
getTitleSafeArea()
Returns the title safe area of the display.
|
int |
getWidth()
Gets a value indicating the screen width, in pixels.
|
java.lang.String |
toString()
Retrieves a string representation of this object.
|
public float getAspectRatio()
public SurfaceFormat getFormat()
public int getHeight()
public Rectangle getTitleSafeArea()
public int getWidth()
public java.lang.String toString()
toString
in class java.lang.Object