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.



37
38
39
40
41
42
43
# File 'lib/atk.rb', line 37

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