ReaderViewAnnotationLayerOptions

data class ReaderViewAnnotationLayerOptions(val layerClassName: String? = null, val layerStyle: Map<String, String>? = null, val annotationInputEngineEventsEnabled: Boolean = false, val zIndex: Int = 0)

Options related with the ReaderViewAnnotationLayer.

Constructors

Link copied to clipboard
fun ReaderViewAnnotationLayerOptions(layerClassName: String? = null, layerStyle: Map<String, String>? = null, annotationInputEngineEventsEnabled: Boolean = false, zIndex: Int = 0)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

If engine events related to mouse, pointer and touch input on annotations should be emitted.

Link copied to clipboard
val layerClassName: String? = null

Class name to add to annotation layer elements.

Link copied to clipboard
val layerStyle: Map<String, String>? = null

An object with css declarations to apply to the annotation layer. Example { "background-blend-mode": "multiply" }

Link copied to clipboard
val zIndex: Int = 0

The z-index of the annotation layer. Layers are rendered with the lowest z-index in the bottom and highest z-index on top. Must be equal or greater than 0.