public class SVGConverter extends AbstractJFXConverter<SVGConverterDelegate>
defaultParams, delegate| Constructor and Description |
|---|
SVGConverter()
Create a SVG converter.
|
SVGConverter(ConverterParameters defaultParams)
Create a SVG converter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
convert(javafx.scene.Node root)
Convert a JavaFX Node hierarchy.
|
void |
convert(javafx.scene.Node root,
ConverterParameters params)
Convert a JavaFX Node hierarchy.
|
void |
convert(javafx.scene.Node root,
java.io.File file)
Convert a JavaFX Node hierarchy.
|
void |
convert(javafx.scene.Node root,
java.io.File file,
ConverterParameters params)
Convert a JavaFX Node hierarchy.
|
void |
convert(javafx.scene.Node root,
java.net.URL url)
Convert a JavaFX Node hierarchy.
|
void |
convert(javafx.scene.Node root,
java.net.URL url,
ConverterParameters params)
Convert a JavaFX Node hierarchy.
|
void |
setFile(java.io.File file)
Set the output file.
|
getConverterDelegate, getRoot, getTransform, getTranslation, getViewbox, setDefaultParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTransform, getTranslation, getViewboxpublic SVGConverter()
public SVGConverter(ConverterParameters defaultParams)
defaultParams - the default parameterspublic void setFile(java.io.File file)
file - the output filepublic void convert(javafx.scene.Node root)
throws JFXConverterException
root - the root NodeJFXConverterException - if writing the SVG failspublic void convert(javafx.scene.Node root,
java.io.File file)
throws JFXConverterException
root - the root Nodefile - the fileJFXConverterException - if writing the SVG failspublic void convert(javafx.scene.Node root,
ConverterParameters params)
throws JFXConverterException
root - the root Nodeparams - the conversion parametersJFXConverterException - if writing the SVG failspublic void convert(javafx.scene.Node root,
java.io.File file,
ConverterParameters params)
throws JFXConverterException
root - the root Nodefile - the fileparams - the conversion parametersJFXConverterException - if writing the SVG failspublic void convert(javafx.scene.Node root,
java.net.URL url)
throws JFXConverterException
root - the root Nodeurl - the urlJFXConverterException - if writing the SVG failspublic void convert(javafx.scene.Node root,
java.net.URL url,
ConverterParameters params)
throws JFXConverterException
root - the root Nodeurl - the urlparams - the conversion parametersJFXConverterException - if writing the SVG failsCopyright © 2021, 2022, 2025, 2026 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence