Trevixal API
    Preparing search index...

    Function openImageMarkup

    • The markup editor: the image, and arrows, boxes, words and blurs to draw over it. Undo takes back the last one. Apply resolves with the shapes, in the image's own pixels, for renderMarkup to burn in; Cancel with null.

      Parameters

      • document: Document
      • src: string
      • natural: { height: number; width: number }

      Returns Promise<MarkupShape[] | null>