UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

91 lines (90 loc) 3.04 kB
import { Parameter, DrawMode, Border, PositionSimpleShapeAnnotation } from "./../index"; export interface SquareAnnotationInterface { border?: Border; color?: string; contents?: string; creator?: string; drawMode?: DrawMode; hidden?: boolean; intents?: string; interiorColor?: string; invisible?: boolean; locked?: boolean; name?: string; opacity?: number; page?: number; position?: PositionSimpleShapeAnnotation; printable?: boolean; rotatable?: boolean; subject?: string; viewable?: boolean; writable?: boolean; zoomable?: boolean; } export declare class SquareAnnotation implements SquareAnnotationInterface, Parameter { border?: Border; color?: string; contents?: string; creator?: string; drawMode?: DrawMode; hidden?: boolean; intents?: string; interiorColor?: string; invisible?: boolean; locked?: boolean; name?: string; opacity?: number; page?: number; position?: PositionSimpleShapeAnnotation; printable?: boolean; rotatable?: boolean; subject?: string; viewable?: boolean; writable?: boolean; zoomable?: boolean; constructor(data: any); static getBorderDescription(): string; static getColorDefault(): string; static getColorDescription(): string; static getContentsDefault(): string; static getContentsDescription(): string; static getCreatorDefault(): string; static getCreatorDescription(): string; static getDrawModeDefault(): DrawMode; static getDrawModeDescription(): string; static getHiddenDefault(): boolean; static getHiddenDescription(): string; static getIntentsDefault(): string; static getIntentsDescription(): string; static getInteriorColorDefault(): string; static getInteriorColorDescription(): string; static getInvisibleDefault(): boolean; static getInvisibleDescription(): string; static getLockedDefault(): boolean; static getLockedDescription(): string; static getNameDefault(): string; static getNameDescription(): string; static getOpacityDefault(): number; static getOpacityDescription(): string; static getOpacityMin(): number; static getOpacityMax(): number; static getPageDefault(): number; static getPageDescription(): string; static getPageMin(): number; static getPositionDescription(): string; static getPrintableDefault(): boolean; static getPrintableDescription(): string; static getRotatableDefault(): boolean; static getRotatableDescription(): string; static getSubjectDefault(): string; static getSubjectDescription(): string; static getViewableDefault(): boolean; static getViewableDescription(): string; static getWritableDefault(): boolean; static getWritableDescription(): string; static getZoomableDefault(): boolean; static getZoomableDescription(): string; static fromJson(data: any): SquareAnnotation; toJson(): any; clone(): SquareAnnotation; }