Package

## Object DataCaptureScenario.AreaOfInterest.Companion

-     public class DataCaptureScenario.AreaOfInterest.Companion

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `private final DataCaptureScenario.AreaOfInterest` | `FILL` |
    `private final DataCaptureScenario.AreaOfInterest` | `ONE_LINE` |
    `public final static DataCaptureScenario.AreaOfInterest.Companion` | `INSTANCE` |

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `final DataCaptureScenario.AreaOfInterest` | `withAspectRatio(Float value)` | Create an area of interest with the specified aspect ratio (width to height).
    `final DataCaptureScenario.AreaOfInterest` | `withAspectRatioForOrientations(Float portrait, Float landscape)` | Create an area of interest with aspect ratios for both portrait and landscape orientation of the device.
    `final DataCaptureScenario.AreaOfInterest` | `getFILL()` | Area of interest for the whole visible area.
    `final DataCaptureScenario.AreaOfInterest` | `getONE_LINE()` | Area of interest for a single line of text.

    - ### Methods inherited from class com.abbyy.mobile.uicomponents.scenario.DataCaptureScenario.AreaOfInterest.Companion

      `equals, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### withAspectRatio

           final DataCaptureScenario.AreaOfInterest withAspectRatio(Float value)

      Create an area of interest with the specified aspect ratio (width to height). It'll be adjusted to take as much of the visible area as possible, preserving the aspect ratio.

    - #### withAspectRatioForOrientations

           final DataCaptureScenario.AreaOfInterest withAspectRatioForOrientations(Float portrait, Float landscape)

      Create an area of interest with aspect ratios for both portrait and landscape orientation of the device. It'll be adjusted to take as much of the visible area as possible, preserving the aspect ratio.

    - #### getFILL

           final DataCaptureScenario.AreaOfInterest getFILL()

      Area of interest for the whole visible area.

    - #### getONE_LINE

           final DataCaptureScenario.AreaOfInterest getONE_LINE()

      Area of interest for a single line of text.