Class: Wx::Rect

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/classes/rect.rb

Overview

Class representing a rectangular shape

Instance Method Summary collapse

Instance Method Details

#to_sObject

Nicely readable inspect output for Rect



4
5
6
# File 'lib/wx/classes/rect.rb', line 4

def to_s
  "#<Wx::Rect: (#{get_left}, #{get_top}) (#{get_right}, #{get_bottom})>"    
end