# 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)

*** ** * ** ***


```
public final class SelectionBoundary
```

<br />

*** ** * ** ***

Represents one edge of the selected content.

## Summary

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

| ### Public methods |
|---|---|
| `final int` | `https://developer.android.com/reference/androidx/pdf/content/SelectionBoundary#getIndex()()` : Index of the selection boundary |
| `final https://developer.android.com/reference/android/graphics/Point.html` | `https://developer.android.com/reference/androidx/pdf/content/SelectionBoundary#getPoint()()` : The point of selection boundary. |
| `final boolean` | `https://developer.android.com/reference/androidx/pdf/content/SelectionBoundary#isRtl()()` : Determines whether the direction of selection is right-to-left (rtl) or reverse |

## Public constructors

### SelectionBoundary

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

```
public SelectionBoundary(int index, Point point, boolean isRtl)
```

| Parameters |
|---|---|
| `int index` | : Index of the selection boundary |
| `https://developer.android.com/reference/android/graphics/Point.html point` | : The point of selection boundary. |
| `boolean isRtl` | : Determines whether the direction of selection is right-to-left (rtl) or reverse |

## Public methods

### getIndex

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

```
public final int getIndex()
```

: Index of the selection boundary

### getPoint

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

```
public final Point getPoint()
```

: The point of selection boundary.

### isRtl

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

```
public final boolean isRtl()
```

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