Package-level declarations
Types
Link copied to clipboard
Enum class to represent the drag handle.
Link copied to clipboard
data class TextSelectionState(val selection: TextRange? = null, val draggedHandle: DragHandle = DragHandle.NONE, val selectedText: String = "")
Current text selection and dragged handle state.
Functions
Link copied to clipboard
Link copied to clipboard
fun TextSelectionOverlay(pageIndex: Int, textSelection: Feature<TextSelectionState, TextSelectionActions>, textProvider: DocumentTextProvider)
An overlay composable (placed on top of the PdfPage) that shows the text selection and also allows the user to drag the selection handles to change the selection.