Class: Atk::TextRectangle

Inherits:
Object
  • Object
show all
Defined in:
lib/atk.rb

Instance Method Summary collapse

Constructor Details

#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ TextRectangle

Returns a new instance of TextRectangle.



30
31
32
33
34
35
36
# File 'lib/atk.rb', line 30

def initialize(x=nil, y=nil, width=nil, height=nil)
  super()
  self.x = x if x
  self.y = y if y
  self.width = width if width
  self.height = height if height
end