Package com.castlabs.android.utils

# Class ScreenUtils

java.lang.Object
com.castlabs.android.utils.ScreenUtils

public class ScreenUtils extends Object
Utility class that provides helper methods around the device screen

Since:
  3.0.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ScreenUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Point`
  `getScreenSize(Context context)`
  Returns the dimensions of the device screen in pixel.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ScreenUtils

    public ScreenUtils()

- ## Method Details

  - ### getScreenSize

    public static Point getScreenSize(@NonNull Context context)
    Returns the dimensions of the device screen in pixel. Please note that this method ignores the current orientation of the device.
    Parameters:
      `context` - The context
    Returns:
      Point that holds the width and height of the screen in pixel