public class SVGContent extends Object
Modifier and Type | Field and Description |
---|---|
String |
content
The SVG content as a String.
|
LoaderParameters |
params
The loader parameters.
|
URL |
url
The url of the SVG file.
|
Constructor and Description |
---|
SVGContent(String content,
LoaderParameters params)
Constructor.
|
SVGContent(URL url,
LoaderParameters params)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFromString()
Return true if the SVG content if from a String.
|
boolean |
isFromURL()
Return true if the SVG content if from an URL.
|
public final URL url
public final String content
public final LoaderParameters params
public SVGContent(URL url, LoaderParameters params)
url
- the url of the SVG fileparams
- the loader parameterspublic SVGContent(String content, LoaderParameters params)
content
- the SVG content as a Stringparams
- the loader parametersCopyright © 2023. All rights reserved.