@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
42 lines (41 loc) • 1.89 kB
TypeScript
import { SquareAnnotation, LineAnnotation, CircleAnnotation, RedactAnnotation, Parameter, MarkupAnnotation, TextAnnotation, FreeTextAnnotation, RubberStampAnnotation } from "./../index";
export interface AddToolboxAnnotationInterface {
circle?: Array<CircleAnnotation>;
freetext?: Array<FreeTextAnnotation>;
line?: Array<LineAnnotation>;
markup?: Array<MarkupAnnotation>;
redact?: Array<RedactAnnotation>;
rubberstamp?: Array<RubberStampAnnotation>;
square?: Array<SquareAnnotation>;
text?: Array<TextAnnotation>;
}
export declare class AddToolboxAnnotation implements AddToolboxAnnotationInterface, Parameter {
circle?: Array<CircleAnnotation>;
freetext?: Array<FreeTextAnnotation>;
line?: Array<LineAnnotation>;
markup?: Array<MarkupAnnotation>;
redact?: Array<RedactAnnotation>;
rubberstamp?: Array<RubberStampAnnotation>;
square?: Array<SquareAnnotation>;
text?: Array<TextAnnotation>;
constructor(data: any);
static getCircleDefault(): Array<CircleAnnotation>;
static getCircleDescription(): string;
static getFreetextDefault(): Array<FreeTextAnnotation>;
static getFreetextDescription(): string;
static getLineDefault(): Array<LineAnnotation>;
static getLineDescription(): string;
static getMarkupDefault(): Array<MarkupAnnotation>;
static getMarkupDescription(): string;
static getRedactDefault(): Array<RedactAnnotation>;
static getRedactDescription(): string;
static getRubberstampDefault(): Array<RubberStampAnnotation>;
static getRubberstampDescription(): string;
static getSquareDefault(): Array<SquareAnnotation>;
static getSquareDescription(): string;
static getTextDefault(): Array<TextAnnotation>;
static getTextDescription(): string;
static fromJson(data: any): AddToolboxAnnotation;
toJson(): any;
clone(): AddToolboxAnnotation;
}