class Pango::Rectangle
Public Class Methods
Source
# 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
Also aliased as: initialize_raw
Public Instance Methods
Source
# File lib/pango/rectangle.rb, line 48 def dup duplicated = self.class.new(x, y, width, height) if respond_to?(:tainted?) and tainted? duplicated.taint end duplicated end