> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IRects

> IRects is a collection of IRect rectangles in FlexiCapture scripts, with an AddRect method for appending rectangles by pixel coordinates.

## What it does

A collection of [IRect](/flexi-capture/appendix/scripts/irect) interfaces.

## Methods

| **Definition**                                         | **Description**                                            |
| ------------------------------------------------------ | ---------------------------------------------------------- |
| AddRect (left: int, top: int, right: int, bottom: int) | Adds another **rect** element to the rectangle collection. |
