Class: ATSPI::Extents
- Inherits:
-
Object
- Object
- ATSPI::Extents
- Extended by:
- Forwardable
- Defined in:
- lib/atspi/extents.rb
Overview
Wraps libatspi’s AtspiRect
Instance Method Summary collapse
-
#height ⇒ Integer
Its height.
-
#inspect ⇒ String
Itself as an inspectable string.
-
#width ⇒ Integer
Its width.
-
#x ⇒ Integer
Its x position.
-
#y ⇒ Integer
Its y position.
Instance Method Details
#height ⇒ Integer
Returns its height.
21 |
# File 'lib/atspi/extents.rb', line 21 delegate :height => :@native |
#inspect ⇒ String
Returns itself as an inspectable string.
24 25 26 |
# File 'lib/atspi/extents.rb', line 24 def inspect "#<#{self.class.name}:0x#{'%x14' % __id__} @x=#{x} @y=#{y} @width=#{width} @height=#{height}>" end |
#width ⇒ Integer
Returns its width.
18 |
# File 'lib/atspi/extents.rb', line 18 delegate :width => :@native |
#x ⇒ Integer
Returns its x position.
12 |
# File 'lib/atspi/extents.rb', line 12 delegate :x => :@native |
#y ⇒ Integer
Returns its y position.
15 |
# File 'lib/atspi/extents.rb', line 15 delegate :y => :@native |