Bitbybit Docs
    Preparing search index...

    Class SVGResult<T> (Inputs.OCCT)

    What svg.loadSVGStructured returns: one shape per drawable element, the view box and any warnings. An output, not an input.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    shapes: SVGShape<T>[]

    One entry per drawable element, in document order.

    viewBox?: [number, number, number, number]

    The document's view box as [minX, minY, width, height], when it has one.

    true

    warnings: string[]

    Problems met while parsing or building that did not stop the import.