java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.datalogic.decode.configuration.GoodReadOverlayDisplayPolicy |
The GoodReadOverlayDisplayPolicy
is an enumeration defining how to display the
Good Read Overlay.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GoodReadOverlayDisplayPolicy | CUSTOM_SIZE | Display the overlay using the custom size defined by GOOD_READ_OVERLAY_PORTRAIT_CUSTOM_SIZE_MAX_WIDTH ,
GOOD_READ_OVERLAY_PORTRAIT_CUSTOM_SIZE_MAX_HEIGHT , GOOD_READ_OVERLAY_LANDSCAPE_CUSTOM_SIZE_MAX_WIDTH
and GOOD_READ_OVERLAY_LANDSCAPE_CUSTOM_SIZE_MAX_HEIGHT . |
|||||||||
GoodReadOverlayDisplayPolicy | FIT | Display the overlay to fit the screen. | |||||||||
GoodReadOverlayDisplayPolicy | ORIGINAL | Display the overlay using its original dimension. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Display the overlay using the custom size defined by GOOD_READ_OVERLAY_PORTRAIT_CUSTOM_SIZE_MAX_WIDTH
,
GOOD_READ_OVERLAY_PORTRAIT_CUSTOM_SIZE_MAX_HEIGHT
, GOOD_READ_OVERLAY_LANDSCAPE_CUSTOM_SIZE_MAX_WIDTH
and GOOD_READ_OVERLAY_LANDSCAPE_CUSTOM_SIZE_MAX_HEIGHT
. To keep the ratio of the image used, the most restrictive requirement is enforced and the other dimension is set to mantain the correct aspect ratio.
Display the overlay to fit the screen. The ratio of the image is kept.
Display the overlay using its original dimension.