DrawInfo

data class DrawInfo(val editable: Boolean = true, val focus: Int? = null, val position: Int = 0, val selectMode: Boolean = false, val selection: Selection? = null, val extraData: Map<String, Any> = emptyMap())

The class holds the information of the content to be draw by the SDK.

Parameters

editable

if the content can the edited

focusId

which content has the focus

position

the position of the content

extraData

additional data

selectMode

if the content is current being selected and should show a visible feedback of it.

Constructors

Link copied to clipboard
constructor(editable: Boolean = true, focus: Int? = null, position: Int = 0, selectMode: Boolean = false, selection: Selection? = null, extraData: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard
val editable: Boolean = true
Link copied to clipboard
Link copied to clipboard
val focus: Int? = null
Link copied to clipboard
val position: Int = 0
Link copied to clipboard
val selection: Selection? = null
Link copied to clipboard
val selectMode: Boolean = false

Functions

Link copied to clipboard