SFIDCardOverlay

object SFIDCardOverlay

SFIDCardOverlay class is custom overlay for scanner

Functions

Link copied to clipboard
fun drawOverlay(    holder: SurfaceHolder,     heightCropPercent: Int,     widthCropPercent: Int,     isFrontSide: Boolean)
Link copied to clipboard
fun setIDCaptureOverlay(    surfaceView: SurfaceView,     DESIRED_HEIGHT_CROP_PERCENT: Int,     DESIRED_WIDTH_CROP_PERCENT: Int,     isFrontSide: Boolean)

Properties

Link copied to clipboard
var isBorderCornersRounded: Boolean = true
Link copied to clipboard
var mBottomLeftColor: Int
Link copied to clipboard
var mBottomRightColor: Int
Link copied to clipboard
var mTopLeftColor: Int
Link copied to clipboard
var mTopRightColor: Int