# AImageCropRect

Data type describing an cropped rectangle returned by [AImage_getCropRect](https://developer.android.com/ndk/reference/group/media#group___media_1gac59fac1adf2e9b2333b4ad4b7a255226).

## Summary

Note that the right and bottom coordinates are exclusive, so the width of the rectangle is (right - left) and the height of the rectangle is (bottom - top).

| ### Public attributes ||
|---|---|
| `https://developer.android.com/ndk/reference/struct/a-image-crop-rect#struct_a_image_crop_rect_1aa1400364205912bd4d2f31e3f19f7efe` | `int32_t` |
| `https://developer.android.com/ndk/reference/struct/a-image-crop-rect#struct_a_image_crop_rect_1a2ede7c3fe9ce7ca5edeaca4b71a6dee7` | `int32_t` |
| `https://developer.android.com/ndk/reference/struct/a-image-crop-rect#struct_a_image_crop_rect_1ade44262d7e8dfc7c0596d4d93dc80755` | `int32_t` |
| `https://developer.android.com/ndk/reference/struct/a-image-crop-rect#struct_a_image_crop_rect_1a1cf16285cc977bc4e37684ddf0f80a0b` | `int32_t` |

## Public attributes

### bottom

Declared in `media/NdkImage.h`

```
int32_t AImageCropRect::bottom
```

### left

Declared in `media/NdkImage.h`

```
int32_t AImageCropRect::left
```

### right

Declared in `media/NdkImage.h`

```
int32_t AImageCropRect::right
```

### top

Declared in `media/NdkImage.h`

```
int32_t AImageCropRect::top
```