RedactionAnnotation

constructor(@IntRange(from = 0) pageIndex: Int, @NonNull rects: List<RectF>)

Creates a new redaction annotation.

NOTE: This requires the Redaction component license to use, and will throw an InvalidPSPDFKitLicenseException if used without it.

Parameters

pageIndex

Page to which this annotation will be attached to.

rects

Rectangles that represent redactions for this annotation.

Throws

When used without Redaction component.


constructor(@NonNull properties: AnnotationPropertyManager, markDirty: Boolean)

Intended for internal usage only.