Class: Sikuli::Screen

Inherits:
Region
  • Object
show all
Defined in:
lib/sikuli/screen.rb

Instance Method Summary collapse

Methods inherited from Region

#height, #highlight, #method_missing, #width, #x, #y

Methods included from Searchable

#find, #find!, #find_all, #wait

Methods included from Typeable

#type

Methods included from Clickable

#click, #click_and_hold, #double_click, #drag_drop, #wheel_down, #wheel_up

Constructor Details

#initializeScreen

Public: creates a new Screen object

Examples

screen = Sikuli::Screen.new

Returns the newly initialized Screen object



16
17
18
# File 'lib/sikuli/screen.rb', line 16

def initialize
  @java_obj = org.sikuli.script::Screen.new()
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Sikuli::Region