# File ../lib/fox/core.rb, line 241 def *(other) if other.kind_of?(FXRectangle) xx = [other.x, self.x].max ww = [other.x+other.w, self.x+self.w].min - xx yy = [other.y, self.y].max hh = [other.y+other.h, self.y+self.h].min - yy FXRectangle.new(xx, yy, ww, hh) else raise TypeError, 'expected FXRectangle' end end