PdfAnnotation


public abstract class PdfAnnotation

Known direct subclasses
HighlightAnnotation

Represents a Highlight Annotation in a PDF document.

StampAnnotation

Represents a stamp annotation in a PDF document.


Represents an annotation on a PDF page.

This abstract class serves as the base for different types of PDF annotations. It handles common properties and behaviors.

Summary

Public methods

boolean
equals(Object other)
int

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

int

Public methods

equals

public boolean equals(Object other)

getPageNum

Added in 1.0.0-alpha19
public int getPageNum()

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

hashCode

public int hashCode()