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