UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

100 lines (99 loc) 3.31 kB
import { Line, DrawStyle, Popup, FieldAnnotation, Positions, Parameter, Markup, Appearance, MetadataBorderStyle } from "./../index"; export interface AnnotationInterface { appearance?: Appearance; border?: MetadataBorderStyle; color?: string; contents?: string; drawStyle?: DrawStyle; field?: FieldAnnotation; hidden?: boolean; iconName?: string; invisible?: boolean; line?: Line; locked?: boolean; markup?: Markup; name?: string; objectKey?: string; page?: number; popup?: Popup; positions?: Array<Positions>; printable?: boolean; rotatable?: boolean; rotation?: number; subType?: string; viewable?: boolean; writable?: boolean; zoomable?: boolean; } export declare class Annotation implements AnnotationInterface, Parameter { appearance?: Appearance; border?: MetadataBorderStyle; color?: string; contents?: string; drawStyle?: DrawStyle; field?: FieldAnnotation; hidden?: boolean; iconName?: string; invisible?: boolean; line?: Line; locked?: boolean; markup?: Markup; name?: string; objectKey?: string; page?: number; popup?: Popup; positions?: Array<Positions>; printable?: boolean; rotatable?: boolean; rotation?: number; subType?: string; viewable?: boolean; writable?: boolean; zoomable?: boolean; constructor(data: any); static getAppearanceDescription(): string; static getBorderDescription(): string; static getColorDefault(): string; static getColorDescription(): string; static getContentsDefault(): string; static getContentsDescription(): string; static getDrawStyleDescription(): string; static getFieldDescription(): string; static getHiddenDefault(): boolean; static getHiddenDescription(): string; static getIconNameDefault(): string; static getIconNameDescription(): string; static getInvisibleDefault(): boolean; static getInvisibleDescription(): string; static getLineDescription(): string; static getLockedDefault(): boolean; static getLockedDescription(): string; static getMarkupDescription(): string; static getNameDefault(): string; static getNameDescription(): string; static getObjectKeyDefault(): string; static getObjectKeyDescription(): string; static getPageDefault(): number; static getPageDescription(): string; static getPageMin(): number; static getPopupDescription(): string; static getPositionsDefault(): Array<Positions>; static getPositionsDescription(): string; static getPrintableDefault(): boolean; static getPrintableDescription(): string; static getRotatableDefault(): boolean; static getRotatableDescription(): string; static getRotationDefault(): number; static getRotationDescription(): string; static getSubTypeDefault(): string; static getSubTypeDescription(): string; static getViewableDefault(): boolean; static getViewableDescription(): string; static getWritableDefault(): boolean; static getWritableDescription(): string; static getZoomableDefault(): boolean; static getZoomableDescription(): string; static fromJson(data: any): Annotation; toJson(): any; clone(): Annotation; }