public class SvgParameters
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
SvgColorMode |
getSvgColorMode()
Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1.
|
boolean |
isExplicitSizeInPixels()
Does SVG image contain explicit size in pixels (recommended)
Default value: true.
|
boolean |
isTextDrawnInTextElement()
Does SVG image contain text as text element rather than paths (recommended)
Default value: true.
|
void |
setExplicitSizeInPixels(boolean explicitSizeInPixels)
Does SVG image contain explicit size in pixels (recommended)
Default value: true.
|
void |
setSvgColorMode(SvgColorMode value)
Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1.
|
void |
setTextDrawnInTextElement(boolean textDrawnInTextElement)
Does SVG image contain text as text element rather than paths (recommended)
Default value: true.
|
public boolean isExplicitSizeInPixels()
public void setExplicitSizeInPixels(boolean explicitSizeInPixels)
public boolean isTextDrawnInTextElement()
public void setTextDrawnInTextElement(boolean textDrawnInTextElement)
public SvgColorMode 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
public void setSvgColorMode(SvgColorMode value)
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