Phaser API Documentation

  Version: 
SVGSizeConfig
Properties:
name type arguments description
width number <optional>

An optional width. The SVG will be resized to this size before being rendered to a texture.

height number <optional>

An optional height. The SVG will be resized to this size before being rendered to a texture.

scale number <optional>

An optional scale. If given it overrides the width / height properties. The SVG is scaled by the scale factor before being rendered to a texture.

Type:
object