Class DisplayFeature
- java.lang.Object
-
- org.openqa.selenium.devtools.v112.emulation.model.DisplayFeature
-
public class DisplayFeature extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DisplayFeature.Orientation
-
Constructor Summary
Constructors Constructor Description DisplayFeature(DisplayFeature.Orientation orientation, java.lang.Integer offset, java.lang.Integer maskLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getMaskLength()
A display feature may mask content such that it is not physically displayed - this length along with the offset describes this area.java.lang.Integer
getOffset()
The offset from the screen origin in either the x (for vertical orientation) or y (for horizontal orientation) direction.DisplayFeature.Orientation
getOrientation()
Orientation of a display feature in relation to screen
-
-
-
Constructor Detail
-
DisplayFeature
public DisplayFeature(DisplayFeature.Orientation orientation, java.lang.Integer offset, java.lang.Integer maskLength)
-
-
Method Detail
-
getOrientation
public DisplayFeature.Orientation getOrientation()
Orientation of a display feature in relation to screen
-
getOffset
public java.lang.Integer getOffset()
The offset from the screen origin in either the x (for vertical orientation) or y (for horizontal orientation) direction.
-
getMaskLength
public java.lang.Integer getMaskLength()
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.
-
-