From 7cb8ff5541ab973fa6c17e3abea3f3fb0e5951ff Mon Sep 17 00:00:00 2001 From: KikooDX Date: Sun, 12 Apr 2020 18:59:04 +0200 Subject: [PATCH] (README.md) Added store_rect() description --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a398ad6..46f547b 100644 --- a/README.md +++ b/README.md @@ -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.