@liquid-js/qr-code-styling
    Preparing search index...

    Function mergeShapes

    • Merge clip path shapes into a single path per clip rule, so the result can be drawn as a plain filled path

      Parameters

      • elements: Element[]

      Returns { rule: string; d: string }[] | undefined

      Path data grouped by clip rule, or undefined if any of the shapes can't be expressed as a path