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 :

  • pos for the start position of area

  • size for teh size of area

Representation

Last updated