Package io.scanbot.sdk.ui_v2.common
Class StyledText
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class StyledText implements Parcelable
Configuration of the text field appearance.
-
-
Constructor Summary
Constructors Constructor Description StyledText(Map<String, Object> json)
StyledText()
StyledText(Boolean visible, String text, ScanbotColor color, Boolean useShadow)
-
Method Summary
Modifier and Type Method Description final Boolean
getVisible()
Whether the text field is visible. final Unit
setVisible(Boolean visible)
Whether the text field is visible. final String
getText()
Value of the text field. final Unit
setText(String text)
Value of the text field. final ScanbotColor
getColor()
Text color. final Unit
setColor(ScanbotColor color)
Text color. final Boolean
getUseShadow()
Whether to enable drop shadows for the text. final Unit
setUseShadow(Boolean useShadow)
Whether to enable drop shadows for the text. -
-
Method Detail
-
getVisible
final Boolean getVisible()
Whether the text field is visible.
-
setVisible
final Unit setVisible(Boolean visible)
Whether the text field is visible.
-
getColor
final ScanbotColor getColor()
Text color.
-
setColor
final Unit setColor(ScanbotColor color)
Text color.
-
getUseShadow
final Boolean getUseShadow()
Whether to enable drop shadows for the text.
-
setUseShadow
final Unit setUseShadow(Boolean useShadow)
Whether to enable drop shadows for the text.
-
-
-
-