Phaser API Documentation

  Version: 
svg: MatterJS.SvgFactory

Description:

A reference to the Matter.Svg module.

The Matter.Svg module contains methods for converting SVG images into an array of vector points.

To use this module you also need the SVGPathSeg polyfill: https://github.com/progers/pathseg

Type:
MatterJS.SvgFactory
Since: 3.22.0