reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1160,7 +1160,7 @@ class Rect(object):
|
||||
Inflate(self, int dx, int dy) -> Rect
|
||||
|
||||
Increase the rectangle size by dx in x direction and dy in y
|
||||
direction. Both or one of) parameters may be negative to decrease the
|
||||
direction. Both (or one of) parameters may be negative to decrease the
|
||||
rectangle size.
|
||||
"""
|
||||
return _core_.Rect_Inflate(*args, **kwargs)
|
||||
@@ -1170,7 +1170,7 @@ class Rect(object):
|
||||
Deflate(self, int dx, int dy) -> Rect
|
||||
|
||||
Decrease the rectangle size by dx in x direction and dy in y
|
||||
direction. Both or one of) parameters may be negative to increase the
|
||||
direction. Both (or one of) parameters may be negative to increase the
|
||||
rectngle size. This method is the opposite of Inflate.
|
||||
"""
|
||||
return _core_.Rect_Deflate(*args, **kwargs)
|
||||
@@ -1197,10 +1197,18 @@ class Rect(object):
|
||||
"""
|
||||
Intersect(self, Rect rect) -> Rect
|
||||
|
||||
Return the intersectsion of this rectangle and rect.
|
||||
Returns the intersectsion of this rectangle and rect.
|
||||
"""
|
||||
return _core_.Rect_Intersect(*args, **kwargs)
|
||||
|
||||
def Union(*args, **kwargs):
|
||||
"""
|
||||
Union(self, Rect rect) -> Rect
|
||||
|
||||
Returns the union of this rectangle and rect.
|
||||
"""
|
||||
return _core_.Rect_Union(*args, **kwargs)
|
||||
|
||||
def __add__(*args, **kwargs):
|
||||
"""
|
||||
__add__(self, Rect rect) -> Rect
|
||||
|
Reference in New Issue
Block a user