# Rectangle

## What is it ?

A Rectangle allow you to calculte a psecific area. For example images use Rectangle to define the sprite area to draw from it's source file.

## How it is composed ?

A rectagle is composed by 2 variables :&#x20;

* pos for the start position of area
* size for teh size of area

## Representation

<figure><img src="https://4254317266-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLCvkNtXkF46zmAW32yt%2Fuploads%2F5lNadWf8KrIFizblDjfr%2Fautodraw%2010_12_2022.png?alt=media&#x26;token=08d941d5-9164-4ac1-bcee-7c6b823f44c1" alt=""><figcaption></figcaption></figure>
