class Pango::Rectangle

Public Class Methods

new(x, y, width, height) click to toggle source
# File pango/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
Also aliased as: initialize_raw

Public Instance Methods

initialize_raw(x, y, width, height)
Alias for: new
to_a() click to toggle source
# File pango/lib/pango/rectangle.rb, line 28
def to_a
  [x, y, width, height]
end