SvgParameters

SvgParameters class

SVG parameters.

new SvgParameters()

Methods

NameDescription
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
isExplicitSizeInPixels()Does SVG image contain explicit size in pixels (recommended) Default value: true.
isTextDrawnInTextElement()Does SVG image contain text as text element rather than paths (recommended) Default value: true.
setExplicitSizeInPixels()Does SVG image contain explicit size in pixels (recommended) Default value: true.
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
setTextDrawnInTextElement()Does SVG image contain text as text element rather than paths (recommended) Default value: true.