HighlightAnnotation


class HighlightAnnotation : PdfAnnotation


Represents a Highlight Annotation in a PDF document.

Summary

Public constructors

HighlightAnnotation(pageNum: Int, bounds: List<RectF>, color: Int)

Public functions

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

Public properties

List<RectF>

The list of bounding RectF of the annotation denoting areas on the page which are highlighted.

Int

The color of the highlight.

Inherited properties

From androidx.pdf.annotation.content.PdfAnnotation
open Int

The page number (0-indexed) where this annotation is located.

Public constructors

HighlightAnnotation

HighlightAnnotation(pageNum: Int, bounds: List<RectF>, color: Int)

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

bounds

Added in 1.0.0-alpha19
val boundsList<RectF>

The list of bounding RectF of the annotation denoting areas on the page which are highlighted.

color

Added in 1.0.0-alpha19
val colorInt

The color of the highlight.