AnnotationAddRemoveEdit

Edit that represents adding or removing annotation from the document.

Creates an object representing a single add/remove edit performed on the annotation in the document.

Parameters

annotation

Annotation that was added or removed from the document.

type

Type of edit, whether the annotation was added or removed from the document.

Constructors

Link copied to clipboard
constructor(annotation: Annotation, type: AnnotationAddRemoveEdit.Type)

Types

Link copied to clipboard

Properties

Link copied to clipboard
val annotationType: ERROR CLASS: Symbol not found for AnnotationType

Type of annotation being referenced.

Link copied to clipboard

Custom AP stream generator (if set).

Link copied to clipboard

Sound annotation audio data (if set).

Link copied to clipboard

Stamp bitmap (if set).

Link copied to clipboard

Type of edit, whether the annotation was added or removed from the document.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compares this edit with another object for equality. Two annotation add/remove edits are equal if they have the same properties, annotation type, edit type, bitmap, audio data, and appearance stream generator.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for this edit based on its properties, annotation type, edit type, bitmap, and appearance stream generator.