# Rectangle

A simple 2D geometric model of a rectangle

| Parameter            | Type             | Description                                                                                                    |
| -------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------- |
| Width                | Decimal (Meters) | The distance from the left side of the rectangle to the right side of the rectangle.                           |
| Height               | Decimal (Meters) | The distance from the bottom  of the rectangle to the top of the rectangle.                                    |
| Area (square meters) | Decimal          | The amount of flat space inside the boundary of the rectangle as dictated by the width and height. (Read-Only) |
| X                    | Decimal (Meters) | The location of the center of the rectangle in the X direction relative to its anchor point.                   |
| Y                    | Decimal (Meters) | The location of the center of the rectangle in the Y direction relative to its anchor point.                   |

<figure><img src="https://1654204364-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FakGR2bVCZLTNoe2hkqeR%2Fuploads%2FG2h6V1uRv8Kui8dxt8Bi%2Fimage.png?alt=media&#x26;token=c69b80f4-b97a-4810-a5e5-8c118bfe2123" alt="" width="347"><figcaption><p align="center"><sub><mark style="color:$info;">The inspector for a rectangle</mark></sub></p></figcaption></figure>

<figure><img src="https://1654204364-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FakGR2bVCZLTNoe2hkqeR%2Fuploads%2FSKC0nXWMNcogTpJauVQU%2Frectangle.gif?alt=media&#x26;token=3896a392-ddb8-4fd3-b606-b39019c74bb2" alt=""><figcaption><p align="center"><sub><mark style="color:$info;">Rectangle height and width being manipulated between 15 and 20</mark></sub></p></figcaption></figure>

<p align="center"></p>
