# File ../lib/fox/core.rb, line 167 def grow(*args) if args.length == 1 margin = args[0] grow(margin, margin, margin, margin) elsif args.length == 2 hormargin = args[0] vermargin = args[1] grow(hormargin, hormargin, vermargin, vermargin) else leftmargin = args[0] rightmargin = args[1] topmargin = args[2] bottommargin = args[3] self.x = self.x - leftmargin self.y = self.y - topmargin self.w = self.w + (leftmargin + rightmargin) self.h = self.h + (topmargin + bottommargin) end self end