struct Protocol::Emulation::DisplayFeature

Included Modules

Defined in:

protocol/emulation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def mask_length : Int::Primitive #

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.


[View source]
def offset : Int::Primitive #

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


[View source]
def orientation : String #

Orientation of a display feature in relation to screen


[View source]