SvgParameters

SvgParameters

SVG parameters.

Constructor

new SvgParameters()

Source:

Methods

getSvgColorMode()

Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1. RGBA, HSL, HSLA is allowed in SVG 2.0 standard. Even in RGB opacity will be set through "fill-opacity" parameter
Source:

isExplicitSizeInPixels()

Does SVG image contain explicit size in pixels (recommended) Default value: true.
Source:

isTextDrawnInTextElement()

Does SVG image contain text as text element rather than paths (recommended) Default value: true.
Source:

setExplicitSizeInPixels()

Does SVG image contain explicit size in pixels (recommended) Default value: true.
Source:

setSvgColorMode()

Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1. RGBA, HSL, HSLA is allowed in SVG 2.0 standard. Even in RGB opacity will be set through "fill-opacity" parameter

Source:

setTextDrawnInTextElement()

Does SVG image contain text as text element rather than paths (recommended) Default value: true.
Source: