public class ConverterDelegate
extends java.lang.Object
| Constructor and Description |
|---|
ConverterDelegate()
Create a converter delegate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyFillGradient(XMLNode xmlNode,
javafx.scene.paint.LinearGradient gradient) |
void |
applyFillGradient(XMLNode xmlNode,
javafx.scene.paint.RadialGradient gradient) |
void |
applyFilter(XMLNode xmlNode,
javafx.scene.effect.Effect effect) |
void |
applyImagePattern(XMLNode xmlNode,
int dstWidth,
int dstHeight,
javafx.scene.paint.ImagePattern pattern) |
void |
convertRoot(javafx.scene.Node root,
XMLRoot xmlRoot)
Convert a JavaFX Node hierarchy to a series of
Graphics2D orders. |
void |
convertRoot(javafx.scene.Node root,
XMLRoot xmlRoot,
ConverterParameters params)
Convert a JavaFX Node hierarchy to a svg tree.
|
XMLNode |
getDefsNode()
Return the defs Node.
|
javafx.scene.Node |
getRoot()
Return the root Node.
|
java.io.File |
getSVGFile()
Return the SVG file.
|
void |
setSVGFile(java.io.File file)
Set the SVG file.
|
public void setSVGFile(java.io.File file)
file - the filepublic java.io.File getSVGFile()
public XMLNode getDefsNode()
public javafx.scene.Node getRoot()
public void applyImagePattern(XMLNode xmlNode, int dstWidth, int dstHeight, javafx.scene.paint.ImagePattern pattern)
public void applyFillGradient(XMLNode xmlNode, javafx.scene.paint.LinearGradient gradient)
public void applyFillGradient(XMLNode xmlNode, javafx.scene.paint.RadialGradient gradient)
public void applyFilter(XMLNode xmlNode, javafx.scene.effect.Effect effect)
public void convertRoot(javafx.scene.Node root,
XMLRoot xmlRoot)
Graphics2D orders.root - the root NodexmlRoot - the xml rootpublic void convertRoot(javafx.scene.Node root,
XMLRoot xmlRoot,
ConverterParameters params)
root - the root NodexmlRoot - the xml rootparams - the converter parametersCopyright © 2021, 2022, 2025, 2026 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence