Mercurial > pygame
diff docs/ref/Rect.html @ 204:4cfdaabc3d10
the 1.1 release candidate
| author | pygame |
|---|---|
| date | Sat, 16 Jun 2001 06:23:29 +0000 |
| parents | 2397d19f8840 |
| children | 74eafc13dbab |
line wrap: on
line diff
--- a/docs/ref/Rect.html Thu Jun 14 21:41:29 2001 +0000 +++ b/docs/ref/Rect.html Sat Jun 16 06:23:29 2001 +0000 @@ -109,15 +109,27 @@ new rectangle with size changed</td></tr> +<tr><td><a href=#inflate_ip>inflate_ip</a></td><td> - +changes the Rect size</td></tr> + + <tr><td><a href=#move>move</a></td><td> - new rectangle with position changed</td></tr> +<tr><td><a href=#move_ip>move_ip</a></td><td> - +move the Rect by the given offset</td></tr> + + <tr><td><a href=#normalize>normalize</a></td><td> - corrects negative sizes</td></tr> <tr><td><a href=#union>union</a></td><td> - +makes new rectangle covering both inputs</td></tr> + + +<tr><td><a href=#union_ip>union_ip</a></td><td> - rectangle covering both input</td></tr> @@ -125,6 +137,10 @@ rectangle covering all inputs</td></tr> +<tr><td><a href=#unionall_ip>unionall_ip</a></td><td> - +rectangle covering all inputs</td></tr> + + </table> <hr> @@ -205,6 +221,15 @@ Negative values will shrink the rectangle. </ul><br> <br> +<a name=inflate_ip><font size=+2><b>inflate_ip +</b></font><br><font size=+1><tt> +Rect.inflate_ip(x, y) -> None +</tt></font><ul> +Changes the Rect by the given amounts. The rectangle +shrinks and expands around the rectangle's center. +Negative values will shrink the rectangle. +</ul><br> <br> + <a name=move><font size=+2><b>move </b></font><br><font size=+1><tt> Rect.move(x, y) -> Rect @@ -213,6 +238,13 @@ rectangle moved by the given amount. </ul><br> <br> +<a name=move_ip><font size=+2><b>move_ip +</b></font><br><font size=+1><tt> +Rect.move_ip(x, y) -> Rect +</tt></font><ul> +Moves the rectangle which by the given amount. +</ul><br> <br> + <a name=normalize><font size=+2><b>normalize </b></font><br><font size=+1><tt> Rect.normalize() -> None @@ -227,9 +259,18 @@ </b></font><br><font size=+1><tt> Rect.union(rectstyle) -> Rect </tt></font><ul> -Returns a new rectangle that completely covers the -given inputs. There may be area inside the new -rectangle that is not covered by the inputs. +Creates a new Rect to completely cover the +given input. There may be area inside the new +Rect that is not covered by either input. +</ul><br> <br> + +<a name=union_ip><font size=+2><b>union_ip +</b></font><br><font size=+1><tt> +Rect.union_ip(rectstyle) -> None +</tt></font><ul> +Resizes the Rect to completely cover the +given input. There may be area inside the new +dimensions that is not covered by either input. </ul><br> <br> <a name=unionall><font size=+2><b>unionall @@ -241,6 +282,15 @@ rectangle that is not covered by the inputs. </ul><br> <br> +<a name=unionall_ip><font size=+2><b>unionall_ip +</b></font><br><font size=+1><tt> +Rect.unionall_ip(sequence_of_rectstyles) -> None +</tt></font><ul> +Returns a new rectangle that completely covers all the +given inputs. There may be area inside the new +rectangle that is not covered by the inputs. +</ul><br> <br> + <hr> </body></html>
