Returns the screen depth.
Returns:
the screen depth
50 51 52
# File 'opal/browser/screen.rb', line 50 def depth Depth.new(`#@native.colorDepth`, `#@native.pixelDepth`) end