|
static int | ConvertPixelsToDp (int pixels) |
| Converts physical pixels to density independent pixels.
|
|
Definition at line 15 of file ScreenUtils.cs.
◆ ConvertPixelsToDp()
static int YandexMobileAds.ScreenUtils.ConvertPixelsToDp |
( |
int |
pixels | ) |
|
|
static |
Converts physical pixels to density independent pixels.
- Parameters
-
pixels | Amount of physical pixels |
- Returns
- Amount of density independent pixels, derived from amount of physical pixels
Definition at line 24 of file ScreenUtils.cs.
The documentation for this class was generated from the following file: