GlobalBounds - DataDog/dd-sdk-android GitHub Wiki
data class GlobalBounds(val x: Long, val y: Long, val width: Long, val height: Long)
Defines the dimension and positions in Global coordinates for a geometry. By Global we mean that the View position will not be relative to its parent but to the Device screen. These dimensions are already normalized according with the current device screen density. Example: if a device has a DPI = 2, the value of the dimension or position is divided by 2 to get a normalized value.
Parameters
|
|
x |
as the position on X axis |
y |
as the position on Y axis |
width |
as the width |
height |
as the height |
Constructors
GlobalBounds
constructor(x: Long, y: Long, width: Long, height: Long)
Parameters
|
|
x |
as the position on X axis |
y |
as the position on Y axis |
width |
as the width |
height |
as the height |
Properties
height
val height: Long
Parameters
width
val width: Long
Parameters
x
val x: Long
Parameters
|
|
x |
as the position on X axis |
y
val y: Long
Parameters
|
|
y |
as the position on Y axis |