DisplayService is static class providing methods to getting display attributes such as size and dpi scale.
More...
DisplayService is static class providing methods to getting display attributes such as size and dpi scale.
◆ getDisplayDpiScale()
static Scale com.spvessel.spacevil.Common.DisplayService.getDisplayDpiScale |
( |
| ) |
|
|
static |
◆ getDisplayHeight()
static int com.spvessel.spacevil.Common.DisplayService.getDisplayHeight |
( |
| ) |
|
|
static |
Getting the current display height.
- Returns
- The current display height as int.
◆ getDisplayWidth()
static int com.spvessel.spacevil.Common.DisplayService.getDisplayWidth |
( |
| ) |
|
|
static |
Getting the current display width.
- Returns
- The current display width as int.
◆ getWindowDpiScale()
static Scale com.spvessel.spacevil.Common.DisplayService.getWindowDpiScale |
( |
CoreWindow |
window | ) |
|
|
static |
◆ setDisplayScale()
static void com.spvessel.spacevil.Common.DisplayService.setDisplayScale |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: