Class: Browser::Screen::Depth

Inherits:
Struct
  • Object
show all
Defined in:
opal/browser/screen.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colorObject

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color


14
15
16
# File 'opal/browser/screen.rb', line 14

def color
  @color
end

#pixelObject

Returns the value of attribute pixel

Returns:

  • (Object)

    the current value of pixel


14
15
16
# File 'opal/browser/screen.rb', line 14

def pixel
  @pixel
end