public static class Resolution.Ratio
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Ratio(int x,
int y) |
protected |
Ratio(int x,
int y,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected static java.util.List<Resolution> |
getAll(java.lang.Class<?> clz) |
java.lang.String |
getName()
Gets the name of this aspect ratio
|
int |
getX()
Gets the x-value of this aspect ratio.
|
int |
getY()
Gets the y-value of this aspect ratio.
|
java.lang.String |
toString() |
protected Ratio(int x, int y)
protected Ratio(int x, int y, java.lang.String name)
protected static java.util.List<Resolution> getAll(java.lang.Class<?> clz)
public java.lang.String getName()
public int getX()
public int getY()
public java.lang.String toString()
toString
in class java.lang.Object