Constructors

Properties

drawHandler: SVGDrawHandler
viewmap: Viewmap

Methods

  • Render a SVG file from the given meshes and returns it.

    Parameters

    • meshes: SVGMesh[]

      Mehses to render

    • camera: PerspectiveCamera

      Camera used to compute the perspective

    • size: {
          h: number;
          w: number;
      }

      Size of the render (will be scaled by camera aspect ratio)

      • h: number
      • w: number
    • info: SVGRenderInfo = ...

      Object containing info (e.g. times) on the rendering process

    Returns Promise<Svg>

    SVG object from the Svgdotjs lib

Generated using TypeDoc