chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.emulation / DisplayFeature

DisplayFeature

data class DisplayFeature

Official doc

Constructors

<init>

Official doc

DisplayFeature(orientation: String, offset: Int, maskLength: Int)

Properties

maskLength

A display feature may mask content such that it is not physically displayed - this length along with the offset describes this area. A display feature that only splits content will have a 0 mask_length.

val maskLength: Int

offset

The offset from the screen origin in either the x (for vertical orientation) or y (for horizontal orientation) direction.

val offset: Int

orientation

Orientation of a display feature in relation to screen

val orientation: String