Class: Applitools::Appium::IosScreenshot

Inherits:
Screenshot show all
Defined in:
lib/applitools/appium/ios_screenshot.rb

Constant Summary

Constants inherited from EyesScreenshot

EyesScreenshot::COORDINATE_TYPES

Instance Attribute Summary

Attributes inherited from Screenshot

#device_pixel_ratio, #status_bar_height

Attributes inherited from EyesScreenshot

#image, #top_left_location

Instance Method Summary collapse

Methods inherited from Screenshot

#initialize, #sub_screenshot

Methods inherited from EyesScreenshot

#convert_region_location, #initialize, #sub_screenshots

Methods included from Helpers

#abstract_attr_accessor, #abstract_method, #env_variable, #environment_attribute, environment_variables

Constructor Details

This class inherits a constructor from Applitools::Appium::Screenshot

Instance Method Details

#convert_location(location, _from, _to) ⇒ Object



5
6
7
# File 'lib/applitools/appium/ios_screenshot.rb', line 5

def convert_location(location, _from, _to)
  location.offset_negative(Applitools::Location.new(0, status_bar_height))
end