java.lang.Object
org.jhotdraw8.fxbase.beans.AbstractPropertyBean
org.jhotdraw8.svg.io.AbstractFXSvgWriter
org.jhotdraw8.svg.io.FXSvgTinyWriter
- All Implemented Interfaces:
org.jhotdraw8.fxbase.beans.PropertyBean,SvgSceneGraphWriter
Exports a JavaFX scene graph to SVG Tiny 1.2.
References:
- SVG Tiny 1.2
- w3.org
- Author:
- Werner Randelshofer
-
Field Summary
FieldsFields inherited from class org.jhotdraw8.svg.io.AbstractFXSvgWriter
idFactory, nb, nbf, nbi, SVG_MIME_TYPE, SVG_NS, XLINK_NS, XLINK_PREFIXFields inherited from class org.jhotdraw8.fxbase.beans.AbstractPropertyBean
propertiesFields inherited from interface org.jhotdraw8.svg.io.SvgSceneGraphWriter
CONVERT_TEXT_TO_PATH_KEY, DESC_PROPERTY_NAME, EXPORT_INVISIBLE_ELEMENTS_KEY, RELATIVIZE_PATHS_KEY, TITLE_PROPERTY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAdditionalNodeClasses(javafx.scene.Node node) protected Stringprotected Stringprotected voidwriteClipAttributes(XMLStreamWriter w, javafx.scene.Node node) protected voidwriteClipPathDefs(XMLStreamWriter w, javafx.scene.Node node) protected voidwriteCompositingAttributes(XMLStreamWriter w, javafx.scene.Node node) protected voidwriteDocumentElementAttributes(XMLStreamWriter w, javafx.scene.Node drawingNode, @Nullable CssDimension2D size) protected voidwriteIdAttribute(Element elem, javafx.scene.Node node) protected voidwritePathStartElement(XMLStreamWriter w, javafx.scene.shape.Path node) Methods inherited from class org.jhotdraw8.svg.io.AbstractFXSvgWriter
isConvertTextToPath, isExportInvisibleElements, isRelativizePaths, setConvertTextToPath, setExportInvisibleElements, setRelativizePaths, toDocument, write, write, writeDescElement, writeGroupStartElement, writeIdAttribute, writeNodeRecursively, writeStrokedShapeElement, writeStyleAttributes, writeTitleElementMethods inherited from class org.jhotdraw8.fxbase.beans.AbstractPropertyBean
get, getNonNull, getPropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.fxbase.beans.PropertyBean
getProperty, put, remove, set, setNonNull, valueAt
-
Field Details
-
SVG_MIME_TYPE_WITH_VERSION
- See Also:
-
-
Constructor Details
-
FXSvgTinyWriter
- Parameters:
imageUriKey- this property is used to retrieve an URL from an ImageViewskipKey- this property is used to retrieve a Boolean from a Node.
-
-
Method Details
-
getSvgVersion
- Specified by:
getSvgVersionin classAbstractFXSvgWriter
-
getSvgBaseProfile
- Specified by:
getSvgBaseProfilein classAbstractFXSvgWriter
-
writeDocumentElementAttributes
protected void writeDocumentElementAttributes(XMLStreamWriter w, javafx.scene.Node drawingNode, @Nullable CssDimension2D size) throws XMLStreamException - Specified by:
writeDocumentElementAttributesin classAbstractFXSvgWriter- Throws:
XMLStreamException
-
writeClipAttributes
- Specified by:
writeClipAttributesin classAbstractFXSvgWriter
-
writeClipPathDefs
- Specified by:
writeClipPathDefsin classAbstractFXSvgWriter
-
writeCompositingAttributes
- Specified by:
writeCompositingAttributesin classAbstractFXSvgWriter
-
writePathStartElement
protected void writePathStartElement(XMLStreamWriter w, javafx.scene.shape.Path node) throws XMLStreamException - Overrides:
writePathStartElementin classAbstractFXSvgWriter- Throws:
XMLStreamException
-
getAdditionalNodeClasses
- Specified by:
getAdditionalNodeClassesin classAbstractFXSvgWriter
-
writeIdAttribute
-