# int& rect::top()

[Family: rect](/imperivm/en/CKS/familias/rect/)

## Exact signature

```text
int& rect::top()
```

## Description

Preserves the first dword of an encoded reference pair and adds four to its second dword for point y and rect top.

## Parameters and return type

**Return type:** `int&`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

This signature takes no additional arguments.

## Other overloads

Check the exact signature. A description of one overload does not automatically document the others.

- [`int rect::top()`](/imperivm/en/CKS/reference/api-1850be95b61b46/)

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-539373df8a81e5.md)
- [JSON](/imperivm/CKS/api/entries/api-539373df8a81e5?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
