Knox Capture SDK
Knox Capture SDK
/
com.samsung.android.knox.smartscan.preview.control
/
ControlButtonSettings
/
setMargin
set
Margin
fun
setMargin
(
x
:
Int
,
y
:
Int
)
:
ControlButtonSettings
You can set margin of the button.
Parameters
x
horizontal margin from the anchor
y
vertical margin from the anchor