Class Resolution.Ratio
java.lang.Object
de.gurkenlabs.litiengine.gui.screens.Resolution.Ratio
- Direct Known Subclasses:
Resolution.Ratio16x10
,Resolution.Ratio16x9
,Resolution.Ratio4x3
,Resolution.Ratio5x4
- Enclosing class:
- Resolution
public static class Resolution.Ratio
extends java.lang.Object
Constructor Details
Method Details
getAll
getName
public java.lang.String getName()Gets the name of this aspect ratio- Returns:
- The name of this aspect ratio.
getX
public int getX()Gets the x-value of this aspect ratio.- Returns:
- The x-value of this aspect ratio.
getY
public int getY()Gets the y-value of this aspect ratio.- Returns:
- The y-value of this aspect ratio.
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object