TextSelection


class TextSelection : Selection


Represents text content that has been selected.

Summary

Public constructors

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

open List<PdfRect>

The bounding rectangles of the selected text.

CharSequence

The selected text.

Public constructors

TextSelection

Added in 1.0.0-alpha12
TextSelection(text: CharSequence, bounds: List<PdfRect>)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

bounds

open val boundsList<PdfRect>

The bounding rectangles of the selected text.

text

Added in 1.0.0-alpha12
val textCharSequence

The selected text.