areaOfInterestWithAspectRatio: method of the AUIAreaOfInterest interface
Sets a single aspect ratio value for the area of interest. The aspect ratio is counted by division of the document's width to its height.
In case the end-user changes a camera orientation during capture, the area of interest, set by this method, will be inverted. To save the area of interest unchanged, use the areaOfInterestWithPortraitAspectRatio: method.
+ (AUIAreaOfInterest*)areaOfInterestWithAspectRatio:(CGFloat)aspectRatio;
Parameters
- aspectRatio
- The aspect ratio value of the area of interest.
Return values
The method returns an instance of an AUIAreaOfInterest object with the passed to the method aspect ratio value.
3/2/2022 12:59:15 PM