-
public class DataCaptureScenario.AreaOfInterest.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final DataCaptureScenario.AreaOfInterestFILLprivate final DataCaptureScenario.AreaOfInterestONE_LINEpublic final static DataCaptureScenario.AreaOfInterest.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final DataCaptureScenario.AreaOfInterestwithAspectRatio(Float value)Create an area of interest with the specified aspect ratio (width to height). final DataCaptureScenario.AreaOfInterestwithAspectRatioForOrientations(Float portrait, Float landscape)Create an area of interest with aspect ratios for both portrait and landscape orientation of the device. final DataCaptureScenario.AreaOfInterestgetFILL()Area of interest for the whole visible area. final DataCaptureScenario.AreaOfInterestgetONE_LINE()Area of interest for a single line of text. -
-
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.
-
-
-
-