# SelectionBoundary

Artifact: [androidx.pdf:pdf-core](https://developer.android.com/jetpack/androidx/releases/pdf) [View Source](https://cs.android.com/search?q=file:androidx/pdf/content/SelectionBoundary.kt+class:androidx.pdf.content.SelectionBoundary) Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

*** ** * ** ***


```
class SelectionBoundary
```

<br />

*** ** * ** ***

Represents one edge of the selected content.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/pdf/content/SelectionBoundary#SelectionBoundary(kotlin.Int,android.graphics.Point,kotlin.Boolean)(index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, point: https://developer.android.com/reference/android/graphics/Point.html?, isRtl: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/content/SelectionBoundary#index()` : Index of the selection boundary |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/content/SelectionBoundary#isRtl()` : Determines whether the direction of selection is right-to-left (rtl) or reverse |
| `https://developer.android.com/reference/android/graphics/Point.html?` | `https://developer.android.com/reference/kotlin/androidx/pdf/content/SelectionBoundary#point()` : The point of selection boundary. |

## Public constructors

### SelectionBoundary

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
SelectionBoundary(index: Int = 0, point: Point? = null, isRtl: Boolean = false)
```

| Parameters |
|---|---|
| `index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html = 0` | : Index of the selection boundary |
| `point: https://developer.android.com/reference/android/graphics/Point.html? = null` | : The point of selection boundary. |
| `isRtl: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html = false` | : Determines whether the direction of selection is right-to-left (rtl) or reverse |

## Public properties

### index

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
val index: Int
```

: Index of the selection boundary

### isRtl

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
val isRtl: Boolean
```

: Determines whether the direction of selection is right-to-left (rtl) or reverse

### point

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
val point: Point?
```

: The point of selection boundary.