| Package | Description |
|---|---|
| org.girod.javafx.svgimage.fromjfx.tosvg.converters |
Contains the converters used to convert types of JavaFX Nodes.
|
| org.girod.javafx.svgimage.fromjfx.tosvg.xml |
This package contains a parser allowing to get a tree of Nodes from an XML file.
|
| Modifier and Type | Field and Description |
|---|---|
protected XMLNode |
AbstractSVGConverter.xmlParent
Parent XML node used as the output container.
|
| Modifier and Type | Method and Description |
|---|---|
XMLNode |
ControlConverter.convert(boolean isDisabled)
Convert the Control.
|
XMLNode |
GroupConverter.convert(boolean isDisabled)
Convert the Group.
|
XMLNode |
ImageViewConverter.convert(boolean isDisabled)
Convert the ImageView.
|
XMLNode |
RegionConverter.convert(boolean isDisabled)
Convert the Region.
|
XMLNode |
Shape3DConverter.convert(boolean isDisabled)
Convert a Shape3D by serializing the Shape as an Image.
|
XMLNode |
ShapeConverter.convert(boolean isDisabled)
Convert the Shape.
|
XMLNode |
SubSceneConverter.convert(boolean isDisabled)
Return a g node.
|
XMLNode |
ClipConstructor.createClip(javafx.scene.Node clip)
Create an SVG clip element for the provided clip node.
|
XMLNode |
FilterConstructor.createFilter(javafx.scene.effect.Effect effect)
Create an SVG filter element for the provided effect.
|
XMLNode |
GradientConstructor.createGradient(javafx.scene.paint.LinearGradient gradient)
Create an SVG linearGradient element for the provided LinearGradient paint.
|
XMLNode |
GradientConstructor.createGradient(javafx.scene.paint.LinearGradient gradient,
boolean isDisabled,
int grayScale)
Create an SVG linearGradient element for the provided LinearGradient paint.
|
XMLNode |
GradientConstructor.createGradient(javafx.scene.paint.RadialGradient gradient)
Create an SVG radialGradient element for the provided LinearGradient paint.
|
XMLNode |
ImagePatternConstructor.createImagePattern(javafx.scene.paint.ImagePattern paint,
int dstWidth,
int dstHeight)
Create an SVG pattern element for the provided ImagePattern paint.
|
XMLNode |
PatternConstructor.createPattern(javafx.scene.paint.ImagePattern pattern)
Create an SVG pattern element for the provided ImagePattern.
|
XMLNode |
SVGConverterDelegate.getDefsNode()
Return the defs Node.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSVGConverter.addFill(XMLNode node,
double dstWidth,
double dstHeight,
javafx.scene.paint.Paint paint,
java.lang.StringBuilder buf)
Append fill style information based on the provided paint.
|
protected void |
AbstractSVGConverter.addFilter(XMLNode xmlNode,
javafx.scene.Node node)
Add a filter to a node.
|
void |
SVGConverterDelegate.applyFillGradient(XMLNode xmlNode,
javafx.scene.paint.LinearGradient gradient) |
void |
SVGConverterDelegate.applyFillGradient(XMLNode xmlNode,
javafx.scene.paint.LinearGradient gradient,
boolean isDisabled) |
void |
SVGConverterDelegate.applyFillGradient(XMLNode xmlNode,
javafx.scene.paint.RadialGradient gradient) |
void |
SVGConverterDelegate.applyFilter(XMLNode xmlNode,
javafx.scene.effect.Effect effect) |
void |
SVGConverterDelegate.applyImagePattern(XMLNode xmlNode,
int dstWidth,
int dstHeight,
javafx.scene.paint.ImagePattern pattern) |
void |
GroupConverter.applyStyle(XMLNode node,
java.lang.String clipID) |
void |
ImageViewConverter.applyStyle(XMLNode node,
java.lang.String clipID) |
void |
NodeSVGConverter.applyStyle(XMLNode node,
java.lang.String clipID)
Apply the node style.
|
void |
RegionConverter.applyStyle(XMLNode node,
java.lang.String clipID) |
void |
Shape3DConverter.applyStyle(XMLNode node,
java.lang.String clipID) |
void |
ShapeConverter.applyStyle(XMLNode node,
java.lang.String clipID) |
void |
SubSceneConverter.applyStyle(XMLNode node,
java.lang.String clipID) |
void |
AbstractSVGConverter.applyTransforms(XMLNode xmlNode)
Apply all the Nodes transformations on the SVGConverterDelegate.
|
protected void |
AbstractSVGConverter.setFillOpacity(javafx.scene.paint.Paint paint,
XMLNode node)
Set the fill opacity attribute on the SVG node when applicable.
|
protected void |
AbstractSVGConverter.setStrokeOpacity(javafx.scene.paint.Paint paint,
XMLNode node)
Set the stroke opacity attribute on the SVG node when applicable.
|
protected void |
AbstractImageConverter.writeImage(javafx.scene.Node theNode,
XMLNode xmlNode,
javafx.scene.image.Image image,
double dstWidth,
double dstHeight)
Writes an image.
|
| Constructor and Description |
|---|
AbstractImageConverter(SVGConverterDelegate delegate,
javafx.scene.Node node,
XMLNode xmlParent)
Constructor.
|
AbstractSVGConverter(SVGConverterDelegate delegate,
javafx.scene.Node node,
XMLNode xmlParent)
Constructor.
|
ControlConverter(SVGConverterDelegate delegate,
javafx.scene.control.Control control,
XMLNode xmlParent)
Constructor.
|
GroupConverter(SVGConverterDelegate delegate,
javafx.scene.Group group,
XMLNode xmlParent)
Constructor.
|
ImageViewConverter(SVGConverterDelegate delegate,
javafx.scene.image.ImageView view,
XMLNode xmlParent)
Constructor.
|
RegionConverter(SVGConverterDelegate delegate,
javafx.scene.layout.Region region,
XMLNode xmlParent)
Constructor.
|
Shape3DConverter(SVGConverterDelegate delegate,
javafx.scene.shape.Shape3D shape,
XMLNode xmlParent)
Constructor.
|
ShapeConverter(SVGConverterDelegate delegate,
javafx.scene.shape.Shape shape,
XMLNode xmlParent)
Constructor.
|
SubSceneConverter(SVGConverterDelegate delegate,
javafx.scene.SubScene subScene,
XMLNode xmlParent)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XMLRoot
A root Node in a graphml XML File.
|
| Modifier and Type | Field and Description |
|---|---|
protected XMLNode |
XMLNode.nodeParent
The node parent.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<XMLNode> |
XMLNode.children
The children nodes.
|
| Modifier and Type | Method and Description |
|---|---|
XMLNode |
XMLNode.copy()
Create a copy of this node.
|
XMLNode |
XMLNode.getFirstChild()
Return the first child of the Node.
|
XMLNode |
XMLNode.getLastChild()
Return the last child of the Node.
|
XMLNode |
XMLNode.getNextSibling()
Return the next sibling of the Node.
|
XMLNode |
XMLNode.getParent()
Return the Node parent (or null if the Node is the root of the XML File).
|
XMLNode |
XMLNode.getPreviousSibling()
Return the previous sibling of the Node.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<XMLNode> |
XMLNode.getAllChildren(java.lang.String name)
Return the list of all children of this node having a specified name.
|
java.util.List<XMLNode> |
XMLNode.getChildren()
Return the ordered list of children of this Node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XMLNode.addChild(XMLNode child)
Add a child to this Node.
|
static java.lang.String |
XMLNodeUtilities.print(XMLNode node,
int tab)
Print as a String the content of an XML file under a root Node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
int tab,
java.io.File outputFile)
Save in a File the content of an XML file under a root Node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
int tab,
java.io.File outputFile,
java.lang.String encoding)
Save in a File the content of an XML file under a root Node.
|
static java.lang.String |
XMLNodeUtilities.print(XMLNode node,
int tab,
java.lang.String encoding)
Print as a String the content of an XML file under a root Node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
int tab,
java.net.URL outputURL)
Save the content of an XML file under a root Node to a URL.
|
| Constructor and Description |
|---|
XMLNode(XMLNode parent,
java.lang.String nodeName)
Create a Node.
|
Copyright © 2021, 2022, 2025, 2026 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence