UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

87 lines (86 loc) 2.94 kB
import { PositionFreeTextAnnotation, Parameter, Justification, FreeTextFont } from "./../index"; export interface FreeTextAnnotationInterface { color?: string; contents?: string; creator?: string; font?: FreeTextFont; hidden?: boolean; intents?: string; invisible?: boolean; justification?: Justification; locked?: boolean; name?: string; opacity?: number; page?: number; position?: PositionFreeTextAnnotation; printable?: boolean; rotatable?: boolean; subject?: string; viewable?: boolean; writable?: boolean; zoomable?: boolean; } export declare class FreeTextAnnotation implements FreeTextAnnotationInterface, Parameter { color?: string; contents?: string; creator?: string; font?: FreeTextFont; hidden?: boolean; intents?: string; invisible?: boolean; justification?: Justification; locked?: boolean; name?: string; opacity?: number; page?: number; position?: PositionFreeTextAnnotation; printable?: boolean; rotatable?: boolean; subject?: string; viewable?: boolean; writable?: boolean; zoomable?: boolean; constructor(data: any); static getColorDefault(): string; static getColorDescription(): string; static getContentsDefault(): string; static getContentsDescription(): string; static getCreatorDefault(): string; static getCreatorDescription(): string; static getFontDescription(): string; static getHiddenDefault(): boolean; static getHiddenDescription(): string; static getIntentsDefault(): string; static getIntentsDescription(): string; static getInvisibleDefault(): boolean; static getInvisibleDescription(): string; static getJustificationDefault(): Justification; static getJustificationDescription(): 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): FreeTextAnnotation; toJson(): any; clone(): FreeTextAnnotation; }