Skip to content
  1. API
  2. Types

SVGLayerOptions

Type: object

SVG layer options.

Properties

  • draw(optional) SVGDrawingFunction Drawing function, operates in graph coordinate space. You can render the SVG elements here or change them.
  • element(optional) SVGSVGElement SVG element to draw on. If not provided, it will be created.