Package io.scanbot.sdk.ui_v2.common
Class ForegroundStyle
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ForegroundStyle implements Parcelable
Configuration of the appearance of foreground elements (e.g. text and/or icons on buttons, etc).
-
-
Field Summary
Fields Modifier and Type Field Description private Boolean
iconVisible
private ScanbotColor
color
private Boolean
useShadow
-
Constructor Summary
Constructors Constructor Description ForegroundStyle(Map<String, Object> json)
ForegroundStyle()
ForegroundStyle(Boolean iconVisible, ScanbotColor color, Boolean useShadow)
-
Method Summary
Modifier and Type Method Description final Boolean
getIconVisible()
Whether the icon is visible. final Unit
setIconVisible(Boolean iconVisible)
Whether the icon is visible. final ScanbotColor
getColor()
Color used for foreground elements. final Unit
setColor(ScanbotColor color)
Color used for foreground elements. final Boolean
getUseShadow()
Whether to use drop shadows for foreground elements. final Unit
setUseShadow(Boolean useShadow)
Whether to use drop shadows for foreground elements. -
-
Method Detail
-
getIconVisible
final Boolean getIconVisible()
Whether the icon is visible.
-
setIconVisible
final Unit setIconVisible(Boolean iconVisible)
Whether the icon is visible.
-
getColor
final ScanbotColor getColor()
Color used for foreground elements.
-
setColor
final Unit setColor(ScanbotColor color)
Color used for foreground elements.
-
getUseShadow
final Boolean getUseShadow()
Whether to use drop shadows for foreground elements.
-
setUseShadow
final Unit setUseShadow(Boolean useShadow)
Whether to use drop shadows for foreground elements.
-
-
-
-