diff --git a/README.md b/README.md index 97c45b6..7dbc09b 100644 --- a/README.md +++ b/README.md @@ -2935,11 +2935,7 @@ while all(event.type != pg.QUIT for event in pg.event.get()): = pg.Rect(topleft_x, topleft_y, width, height) = .topleft/topright/bottomright/bottomleft/center = .x/y/centerx/centery -``` - -```python = .move() # Or: .move(, ) -.move_ip() # Or: .move_ip(, ) ``` ```python @@ -2971,13 +2967,11 @@ indices = .collidelistall() # Returns indices of all colind ``` ```python +pg.draw.line(, color, start_pos, end_pos, width) +pg.draw.arc(, color, , start_angle, stop_angle) pg.draw.rect(, color, ) pg.draw.polygon(, color, points) -pg.draw.circle(, color, center, radius) pg.draw.ellipse(, color, ) -pg.draw.arc(, color, , start_angle, stop_angle) -pg.draw.line(, color, start_pos, end_pos, width) -pg.draw.lines(, color, points) ``` ### Font diff --git a/index.html b/index.html index eea27dd..a23dbd4 100644 --- a/index.html +++ b/index.html @@ -2496,12 +2496,10 @@ rect = pg.Rect(235, 2

Rect

Object for storing rectangular coordinates.

<Rect>  = pg.Rect(topleft_x, topleft_y, width, height)
 <tuple> = <Rect>.topleft/topright/bottomright/bottomleft/center
 <int>   = <Rect>.x/y/centerx/centery
+<Rect>  = <Rect>.move(<tuple>)                   # Or: <Rect>.move(<int>, <int>)
 
-
<Rect>  = <Rect>.move(<tuple>)                   # Or: <Rect>.move(<int>, <int>)
-<Rect>.move_ip(<tuple>)                          # Or: <Rect>.move_ip(<int>, <int>)
-
<bool>  = <Rect>.collidepoint(<tuple>)           # Or: <Rect>.collidepoint(<int>, <int>)
 <bool>  = <Rect>.colliderect(<Rect>)
 index   = <Rect>.collidelist(<list_of_Rect>)     # Returns index of first coliding Rect or -1.
@@ -2522,13 +2520,11 @@ indices = <Rect>.collidelistall(<list_of_Rect>)  pg.draw.rect(<Surface>, color, <Rect>)
+
pg.draw.line(<Surface>, color, start_pos, end_pos, width)
+pg.draw.arc(<Surface>, color, <Rect>, start_angle, stop_angle)
+pg.draw.rect(<Surface>, color, <Rect>)
 pg.draw.polygon(<Surface>, color, points)
-pg.draw.circle(<Surface>, color, center, radius)
 pg.draw.ellipse(<Surface>, color, <Rect>)
-pg.draw.arc(<Surface>, color, <Rect>, start_angle, stop_angle)
-pg.draw.line(<Surface>, color, start_pos, end_pos, width)
-pg.draw.lines(<Surface>, color, points)
 

Font

<Font>    = pg.font.SysFont(name, size, bold=False, italic=False)
 <Font>    = pg.font.Font('<path>', size)