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
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Ratio
protected Ratio(int x, int y) -
Ratio
-
-
Method Details
-
getAll
-
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
-