Microsoft.Xna.Framework.Graphics
Class DisplayMode

java.lang.Object
  extended by Microsoft.Xna.Framework.Graphics.DisplayMode

public class DisplayMode
extends java.lang.Object

Describes the display mode.

Author:
Halofreak1990

Method Summary
 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.
 java.lang.String ToString()
          Retrieves a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAspectRatio

public float getAspectRatio()
Gets the aspect ratio used by the graphics device.


getFormat

public SurfaceFormat getFormat()
Gets a value indicating the surface format of the display mode.


getHeight

public int getHeight()
Gets a value indicating the screen height, in pixels.


getTitleSafeArea

public Rectangle getTitleSafeArea()
Returns the title safe area of the display.


getWidth

public int getWidth()
Gets a value indicating the screen width, in pixels.


ToString

public java.lang.String ToString()
Retrieves a string representation of this object.


toString

public java.lang.String toString()
Retrieves a string representation of this object.

Overrides:
toString in class java.lang.Object