BlinkReceipt SDK
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
BlinkReceipt SDK
blinkreceipt-camera
/
com.microblink.camera.util
/
CommonUtils
Common
Utils
class
CommonUtils
Members
Constructors
Common
Utils
Link copied to clipboard
constructor
(
)
Functions
absolutize
Point
Coordinate
Link copied to clipboard
fun
absolutizePointCoordinate
(
@
NonNull
point
:
Array
<
Float
>
,
width
:
Float
,
height
:
Float
)
clamp
To
Unit
Rect
Link copied to clipboard
fun
clampToUnitRect
(
@
NonNull
rect
:
RectF
)
host
Orientation
Is
Portrait
Link copied to clipboard
open
fun
hostOrientationIsPortrait
(
@
NonNull
context
:
Context
)
:
Boolean
landscape
Right
Point
To
Point
Link copied to clipboard
fun
landscapeRightPointToPoint
(
@
NonNull
point
:
Array
<
Float
>
,
hostActivityOrientation
:
Int
,
width
:
Float
,
height
:
Float
)
point
To
Landscape
Right
Point
Link copied to clipboard
fun
pointToLandscapeRightPoint
(
@
NonNull
point
:
Array
<
Float
>
,
hostActivityOrientation
:
Int
,
width
:
Float
,
height
:
Float
)
relativize
Point
Coordinate
Link copied to clipboard
fun
relativizePointCoordinate
(
@
NonNull
point
:
Array
<
Float
>
,
width
:
Float
,
height
:
Float
)