Selection

data class Selection<S : SelectionLocation>(val text: String, val rect: DpRect, val location: S)

Represents a user content selection in a navigator.

Parameters

text

The user selected text.

rect

Frame of the bounding rect for the selection, in the coordinate of the navigator view. This is only useful in the context of a VisualNavigator.

Constructors

Link copied to clipboard
constructor(text: String, rect: DpRect, location: S)

Properties

Link copied to clipboard
val location: S
Link copied to clipboard
Link copied to clipboard