Class: Atk::TextRectangle
- Inherits:
-
Object
- Object
- Atk::TextRectangle
- Defined in:
- atk/lib/atk.rb
Instance Method Summary collapse
-
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ TextRectangle
constructor
A new instance of TextRectangle.
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 |