# File lib/rubygame/rect.rb, line 314 def midtop=(midtop) self.centerx, self[1] = midtop return midtop end