ClassSVGScaleModes

How Image.renderSVG scales the SVG to the given size

Properties

Properties

HEIGHT: "height"

The size is the height in pixels, the width follows the SVG's aspect ratio

SCALE: "scale"

The size is a factor of the SVG's own size

WIDTH: "width"

The size is the width in pixels, the height follows the SVG's aspect ratio