# AnnotationsView.AnnotationMode.Highlight

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

*** ** * ** ***


```
class AnnotationsView.AnnotationMode.Highlight : AnnotationsView.AnnotationMode
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.pdf.annotation.AnnotationsView.AnnotationMode](https://developer.android.com/reference/kotlin/androidx/pdf/annotation/AnnotationsView.AnnotationMode) ||
|   | ↳ | [androidx.pdf.annotation.AnnotationsView.AnnotationMode.Highlight](https://developer.android.com/reference/kotlin/androidx/pdf/annotation/AnnotationsView.AnnotationMode.Highlight) |

*** ** * ** ***

Mode for creating new highlight annotations.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/AnnotationsView.AnnotationMode.Highlight#Highlight(kotlin.Int)(color: @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/AnnotationsView.AnnotationMode.Highlight#color()` |

## Public constructors

### Highlight

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

```
Highlight(color: @ColorInt Int)
```

## Public properties

### color

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

```
val color: Int
```