Class: Pango::Rectangle
- Inherits:
-
Object
- Object
- Pango::Rectangle
- Defined in:
- lib/pango/rectangle.rb
Instance Method Summary collapse
-
#initialize(x, y, width, height) ⇒ Rectangle
constructor
A new instance of Rectangle.
- #initialize_raw ⇒ Object
Constructor Details
permalink #initialize(x, y, width, height) ⇒ Rectangle
Returns a new instance of Rectangle.
20 21 22 23 24 25 26 |
# File 'lib/pango/rectangle.rb', line 20 def initialize(x, y, width, height) initialize_raw self.x = x self.y = y self.width = width self.height = height end |
Instance Method Details
permalink #initialize_raw ⇒ Object
[View source]
19 |
# File 'lib/pango/rectangle.rb', line 19 alias_method :initialize_raw, :initialize |