public class SVGContent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
content
The SVG content as a String.
|
LoaderParameters |
params
The loader parameters.
|
java.net.URL |
url
The url of the SVG file.
|
| Constructor and Description |
|---|
SVGContent(java.lang.String content,
LoaderParameters params)
Constructor.
|
SVGContent(java.net.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 java.net.URL url
public final java.lang.String content
public final LoaderParameters params
public SVGContent(java.net.URL url,
LoaderParameters params)
url - the url of the SVG fileparams - the loader parameterspublic SVGContent(java.lang.String content,
LoaderParameters params)
content - the SVG content as a Stringparams - the loader parametersCopyright © 2021, 2022, 2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence