@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Interface SignatureImageValue

    An image-based signature. The image cannot be replayed as strokes and SVG export is not supported for this kind.

    interface SignatureImageValue {
        image: {
            dataUrl: string;
            height?: number;
            mimeType: string;
            width?: number;
        };
        kind: "image";
    }
    Index

    Properties

    Properties

    image: { dataUrl: string; height?: number; mimeType: string; width?: number }

    The imported image payload.

    Type Declaration

    • dataUrl: string

      Base-64 data URL of the image.

    • Optionalheight?: number

      Original image height in pixels, when known.

    • mimeType: string

      MIME type of the original image (e.g. 'image/png').

    • Optionalwidth?: number

      Original image width in pixels, when known.

    kind: "image"

    Discriminator – always 'image'.