(README.md) Added store_rect() description

This commit is contained in:
KikooDX 2020-04-12 18:59:04 +02:00
parent 71e438865a
commit 7cb8ff5541
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ Invert the pixel color at (**x**;**y**).
Invert all the pixels of the rectangle from (**x**;**y**) of size **w** (width)
times **h** (height).
`store_rect(x: int, y: int, w:int, h: int) -> SpriteRaw` :
Store all the pixels of the given area in a `SpriteRaw`.
## Sprite classes (WIP)
`SpriteIndexed` : indexed sprite. Draw using pallets.