• Parameters

    • box: Box

      an object with "min" and "span" as two points

    Returns string

    an SVG viewBox string

    Description

    Convert a bounding box type into a viewbox string