Class DisplayFeature


  • public class DisplayFeature
    extends java.lang.Object
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DisplayFeature

        public DisplayFeature​(DisplayFeature.Orientation orientation,
                              java.lang.Integer offset,
                              java.lang.Integer maskLength)
    • Method Detail

      • 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.