Class: Atk::TextRectangle

Inherits:
Object
  • Object
show all
Defined in:
atk/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 'atk/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