StampAnnotation


class StampAnnotation : PdfAnnotation


Represents a stamp annotation in a PDF document.

Stamp annotations are used to add different types of PdfObject. This class encapsulates the properties of a stamp annotation, such as its page number, bounding box, and the list of PDF objects that constitute the stamp's appearance.

Summary

Public constructors

StampAnnotation(pageNum: Int, bounds: RectF, pdfObjects: List<PdfObject>)

Public functions

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

Public properties

RectF

The bounding RectF of the annotation on the page, in PDF coordinates.

List<PdfObject>

A list of PdfObject instances that define the visual appearance of the stamp.

Inherited properties

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

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

Public constructors

StampAnnotation

StampAnnotation(pageNum: Int, bounds: RectF, pdfObjects: List<PdfObject>)

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 boundsRectF

The bounding RectF of the annotation on the page, in PDF coordinates.

pdfObjects

Added in 1.0.0-alpha19
val pdfObjectsList<PdfObject>

A list of PdfObject instances that define the visual appearance of the stamp.