Screen
class Screen
Represents the device screen(X and Y).
public class Screen
— Methods (5) —
| Name | Description |
|---|---|
| int getWidth() | Returns the size of the screen's X axis. |
| int getHeight() | Returns the screen's Y axis size. |
| int width() | Returns the size of the screen's X axis, but without using the getter. |
| int height() | Returns the Y axis size of the screen, but without using the getter. |
| float ratio() | Returns the result of dividing between "Width" and "Height". |