AnnotationZIndexEdit

class AnnotationZIndexEdit(pageIndex: Int, objectNumber: Int, val oldZIndex: Int, val newZIndex: Int) : AnnotationEdit

Represents a single edit of an annotation z-index.

Parameters

pageIndex

The zero-based index of the page containing the annotation.

objectNumber

The PDF object number of the annotation.

oldZIndex

The z-index of the annotation before the edit.

newZIndex

The z-index of the annotation after the edit.

Constructors

Link copied to clipboard
constructor(pageIndex: Int, objectNumber: Int, oldZIndex: Int, newZIndex: Int)

Properties

Link copied to clipboard

New annotation z-index.

Link copied to clipboard

Old annotation z-index.

Functions

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

Compares this edit with another object for equality. Two z-index edits are equal if they have the same old and new z-index values.

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

Returns a hash code value for this edit based on its old and new z-index values.