Phaser API Documentation

  Version: 
SVGFileConfig
Properties:
name type arguments Default description
key string

The key of the file. Must be unique within both the Loader and the Texture Manager.

url string <optional>

The absolute or relative URL to load the file from.

extension string <optional> 'svg'

The default file extension to use if no url is provided.

xhrSettings Phaser.Types.Loader.XHRSettingsObject <optional>

Extra XHR Settings specifically for this file.

svgConfig Phaser.Types.Loader.FileTypes.SVGSizeConfig <optional>

The svg size configuration object.

Type:
object