SFTextOverlay

object SFTextOverlay

SFTextOverlay class is custom overlay for scanner

Functions

Link copied to clipboard
fun drawOverlay(    holder: SurfaceHolder,     heightCropPercent: Int,     widthCropPercent: Int)
Link copied to clipboard
fun setTextCaptureOverlay(    surfaceView: SurfaceView,     DESIRED_HEIGHT_CROP_PERCENT: Int,     DESIRED_WIDTH_CROP_PERCENT: Int,     mTopLeftColor: Int,     mTopRightColor: Int,     mBottomLeftColor: Int,     mBottomRightColor: Int,     isBorderCornersRounded: 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