def SetSize(self, w, h, recursive=True): self.w = w self.h = h RectangleShape.SetSize(self, w, h, recursive)