@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
32 lines (31 loc) • 1.12 kB
TypeScript
import { Parameter } from "./../index";
export interface BlackenInterface {
collisionRatio?: number;
redactAnnotations?: boolean;
redactImages?: boolean;
redactPaths?: boolean;
redactTexts?: boolean;
}
export declare class Blacken implements BlackenInterface, Parameter {
collisionRatio?: number;
redactAnnotations?: boolean;
redactImages?: boolean;
redactPaths?: boolean;
redactTexts?: boolean;
constructor(data: any);
static getCollisionRatioDefault(): number;
static getCollisionRatioDescription(): string;
static getCollisionRatioMin(): number;
static getCollisionRatioMax(): number;
static getRedactAnnotationsDefault(): boolean;
static getRedactAnnotationsDescription(): string;
static getRedactImagesDefault(): boolean;
static getRedactImagesDescription(): string;
static getRedactPathsDefault(): boolean;
static getRedactPathsDescription(): string;
static getRedactTextsDefault(): boolean;
static getRedactTextsDescription(): string;
static fromJson(data: any): Blacken;
toJson(): any;
clone(): Blacken;
}