StyledText

data class StyledText(var visible: Boolean = true, var text: String = "", var color: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), var useShadow: Boolean = false) : Parcelable

Configuration of the text field appearance.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(visible: Boolean = true, text: String = "", color: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), useShadow: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The text color.

Link copied to clipboard

The value of the text field.

Link copied to clipboard

Determines whether to enable drop shadows for the text.

Link copied to clipboard

Determines whether the text field is visible or not.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject