Stay organized with collections
Save and categorize content based on your preferences.
AImageCropRect
Data type describing an cropped rectangle returned by AImage_getCropRect.
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
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
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[],null,["# AImageCropRect Struct Reference\n\nAImageCropRect\n==============\n\nData type describing an cropped rectangle returned by [AImage_getCropRect](/ndk/reference/group/media#group___media_1ga13bf0c07ee4fd02a3adcd8b97e20f5c7).\n\nSummary\n-------\n\nNote 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).\n\n| ### Public attributes ||\n|------------------------------------------------------------------------|-----------|\n| [bottom](#struct_a_image_crop_rect_1aa1400364205912bd4d2f31e3f19f7efe) | `int32_t` |\n| [left](#struct_a_image_crop_rect_1a2ede7c3fe9ce7ca5edeaca4b71a6dee7) | `int32_t` |\n| [right](#struct_a_image_crop_rect_1ade44262d7e8dfc7c0596d4d93dc80755) | `int32_t` |\n| [top](#struct_a_image_crop_rect_1a1cf16285cc977bc4e37684ddf0f80a0b) | `int32_t` |\n\nPublic attributes\n-----------------\n\n### bottom\n\nDeclared in `media/NdkImage.h` \n\n```scdoc\nint32_t AImageCropRect::bottom\n``` \n\n### left\n\nDeclared in `media/NdkImage.h` \n\n```scdoc\nint32_t AImageCropRect::left\n``` \n\n### right\n\nDeclared in `media/NdkImage.h` \n\n```scdoc\nint32_t AImageCropRect::right\n``` \n\n### top\n\nDeclared in `media/NdkImage.h` \n\n```scdoc\nint32_t AImageCropRect::top\n```"]]