struct Protocol::Page::ScreencastFrameMetadata

Overview

Screencast frame metadata.

Included Modules

Defined in:

protocol/page.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def device_height : Number::Primitive #

Device screen height in DIP.


[View source]
def device_width : Number::Primitive #

Device screen width in DIP.


[View source]
def offset_top : Number::Primitive #

Top offset in DIP.


[View source]
def page_scale_factor : Number::Primitive #

Page scale factor.


[View source]
def scroll_offset_x : Number::Primitive #

Position of horizontal scroll in CSS pixels.


[View source]
def scroll_offset_y : Number::Primitive #

Position of vertical scroll in CSS pixels.


[View source]
def timestamp : Network::TimeSinceEpoch | Nil #

Frame swap timestamp.


[View source]