cnf
2025-05-10 386fa0eca75ddc88165f9b73038f2a2239e1072e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/**
 * Basic editor in order to generate an Stamp annotation annotation containing
 * a signature drawing.
 */
export class SignatureEditor extends DrawingEditor {
    static _type: string;
    static _editorType: number;
    static _defaultDrawingOptions: null;
    /** @inheritdoc */
    static initialize(l10n: any, uiManager: any): void;
    /** @inheritdoc */
    static getDefaultDrawingOptions(options: any): any;
    static get typesMap(): any;
    static computeTelemetryFinalData(data: any): {
        hasAltText: any;
        hasNoAltText: any;
    };
    /** @inheritdoc */
    static deserializeDraw(pageX: any, pageY: any, pageWidth: any, pageHeight: any, innerMargin: any, data: any): any;
    defaultL10nId: string;
    /** @inheritdoc */
    get telemetryFinalData(): {
        type: string;
        hasDescription: boolean;
    };
    setUuid(uuid: any): void;
    getUuid(): null;
    set description(description: null);
    get description(): null;
    getSignaturePreview(): {
        areContours: any;
        outline: InkDrawOutline;
    };
    addSignature(data: any, heightInPage: any, description: any, uuid: any): void;
    getFromImage(bitmap: any): {
        outline: InkDrawOutline;
        newCurves: any[];
        areContours: any;
        thickness: any;
        width: any;
        height: any;
    } | null;
    getFromText(text: any, fontInfo: any): {
        outline: InkDrawOutline;
        newCurves: any[];
        areContours: any;
        thickness: any;
        width: any;
        height: any;
    } | null;
    getDrawnSignature(curves: any): {
        outline: InkDrawOutline;
        newCurves: any[];
        areContours: any;
        thickness: any;
        width: any;
        height: any;
    } | null;
    /** @inheritdoc */
    createDrawingOptions({ areContours, thickness }: {
        areContours: any;
        thickness: any;
    }): void;
    _drawingOptions: any;
    /** @inheritdoc */
    serialize(isForCopying?: boolean): {
        annotationType: number;
        isSignature: boolean;
        areContours: boolean;
        color: number[];
        thickness: any;
        pageIndex: number;
        rect: any;
        rotation: number;
        structTreeParentId: any;
    } | null;
    #private;
}
import { DrawingEditor } from "./draw.js";
import { InkDrawOutline } from "./drawers/inkdraw.js";