Object
# File gtk2/sample/misc/cairo-pong.rb, line 24 def initialize(x, y, width, height) @x = x @y = y @width = width @height = height end
# File gtk2/sample/misc/cairo-pong.rb, line 35 def max_x @x + @width / 2 end
# File gtk2/sample/misc/cairo-pong.rb, line 43 def max_y @y + @height / 2 end
# File gtk2/sample/misc/cairo-pong.rb, line 31 def min_x @x - @width / 2 end
# File gtk2/sample/misc/cairo-pong.rb, line 39 def min_y @y - @height / 2 end
[Validate]
Generated with the Darkfish Rdoc Generator 2.