public abstract class

RedactionTemplate

extends Object
java.lang.Object
   ↳ com.pspdfkit.api.redaction.description.RedactionTemplate
Known Direct Subclasses

Class Overview

An abstract class holding the common template of a redaction. Don't use this class direct, but look use the implementations RedactionPreset and RedactionRegEx instead.

Summary

Public Methods
Color getFillColor()
Gets the @{link Color} of the block which the redacted item/s will be covered with.
Set<Integer> getPages()
Get the pages for which the redaction should be applied to.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Color getFillColor ()

Gets the @{link Color} of the block which the redacted item/s will be covered with.

Returns
  • The fill color.

public Set<Integer> getPages ()

Get the pages for which the redaction should be applied to.

Returns
  • A Set of Integers representing page numbers.