> ## 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.

# Rectangle

> The Rectangle object — top-left and bottom-right coordinates of a rectangular area on a page image.

`Rectangle` represents a single rectangular area on a page image, defined by its top-left and bottom-right corners.

## Properties

| Name             | Type   | Access    | Description                              |
| :--------------- | :----- | :-------- | :--------------------------------------- |
| **TopLeftX**     | number | Read-only | X-coordinate of the top-left corner.     |
| **TopLeftY**     | number | Read-only | Y-coordinate of the top-left corner.     |
| **BottomRightX** | number | Read-only | X-coordinate of the bottom-right corner. |
| **BottomRightY** | number | Read-only | Y-coordinate of the bottom-right corner. |

## Related topics

<CardGroup cols={3}>
  <Card title="Region" icon="vector-square" href="/vantage/documentation/skill-designer/process/custom-activity/region">
    Area on a page image that contains the text for a field.
  </Card>

  <Card title="Field" icon="font" href="/vantage/documentation/skill-designer/process/custom-activity/field">
    Provides access to the field value and its properties.
  </Card>

  <Card title="Object model" icon="diagram-project" href="/vantage/documentation/skill-designer/process/custom-activity/object-model">
    Full JavaScript object reference for Custom activity scripts.
  </Card>
</CardGroup>
