Browse Source

Pygame

pull/53/merge
Jure Šorn 2 weeks ago
parent
commit
226d77a1ac
2 changed files with 2 additions and 2 deletions
  1. 2
      README.md
  2. 2
      index.html

2
README.md

@ -3026,7 +3026,7 @@ pg.quit()
```
```python
<Surf>.fill(color) # Pass tuple or pg.Color('<name/rgb_code>').
<Surf>.fill(color) # Pass tuple of ints or pg.Color('<name/hex>').
<Surf>.set_at((x, y), color) # Updates pixel. Also <Surf>.get_at((x, y)).
<Surf>.blit(<Surf>, (x, y)) # Draws passed surface at specified location.
```

2
index.html

@ -2483,7 +2483,7 @@ pg.quit()
</code></pre></div>
<pre><code class="python language-python hljs">&lt;Surf&gt;.fill(color) <span class="hljs-comment"># Pass tuple or pg.Color('&lt;name/rgb_code&gt;').</span>
<pre><code class="python language-python hljs">&lt;Surf&gt;.fill(color) <span class="hljs-comment"># Pass tuple of ints or pg.Color('&lt;name/hex&gt;').</span>
&lt;Surf&gt;.set_at((x, y), color) <span class="hljs-comment"># Updates pixel. Also &lt;Surf&gt;.get_at((x, y)).</span>
&lt;Surf&gt;.blit(&lt;Surf&gt;, (x, y)) <span class="hljs-comment"># Draws passed surface at specified location.</span>
</code></pre>

Loading…
Cancel
Save