| Package | Description |
|---|---|
| de.saxsys.svgfx.core | |
| de.saxsys.svgfx.core.elements | |
| de.saxsys.svgfx.core.utils |
| Modifier and Type | Method and Description |
|---|---|
Set<SVGCssStyle> |
SVGDataProvider.getStyles()
Gets the styles of the converted svg file.
|
| Modifier and Type | Method and Description |
|---|---|
SVGCssStyle |
SVGElementBase.getCssStyle()
Returns the
SVGCssStyle of this element. |
SVGCssStyle |
SVGElementBase.getCssStyleAndResolveInheritance()
Gets the elements own
SVGCssStyle and combines it with the SVGCssStyle or the parent if there one. |
SVGCssStyle |
SVGElementBase.getCssStyleAndResolveInheritance(SVGCssStyle otherStyle)
Gets the elements own
SVGCssStyle and combines it with the givne SVGCssStyle |
SVGCssStyle |
SVGElementBase.getOwnStyle()
Gets the elements own
SVGCssStyle, which will only be available if the element has the SVGElementBase.CoreAttribute.STYLE. |
SVGCssStyle |
SVGElementBase.getPresentationCssStyle()
This method attempts to create a
SVGCssStyle by looking up all the supported SVGCssStyle.PresentationAttribute. |
SVGCssStyle |
SVGElementBase.getReferencedStyle()
Gets the elements referenced
SVGCssStyle, which will only be available if the element has the SVGElementBase.CoreAttribute.CLASS. |
| Modifier and Type | Method and Description |
|---|---|
protected Set<SVGCssStyle> |
SVGStyle.createResult(SVGCssStyle style)
Must be overwritten in the actual implementation to create a new result for this element based on the
information available.
|
| Modifier and Type | Method and Description |
|---|---|
TResult |
SVGElementBase.createAndInitializeResult(SVGCssStyle style)
Creates a result represented by this element and uses the given supplier in order to fetch data needed to initialize the result
|
protected javafx.scene.Group |
SVGUse.createResult(SVGCssStyle style)
Must be overwritten in the actual implementation to create a new result for this element based on the
information available.
|
protected Set<SVGCssStyle> |
SVGStyle.createResult(SVGCssStyle style)
Must be overwritten in the actual implementation to create a new result for this element based on the
information available.
|
protected javafx.scene.paint.Stop |
SVGStop.createResult(SVGCssStyle style)
Must be overwritten in the actual implementation to create a new result for this element based on the
information available.
|
protected javafx.scene.Group |
SVGRoot.createResult(SVGCssStyle style) |
protected javafx.scene.shape.Rectangle |
SVGRectangle.createResult(SVGCssStyle style) |
protected javafx.scene.paint.RadialGradient |
SVGRadialGradient.createResult(SVGCssStyle style) |
protected javafx.scene.shape.Polyline |
SVGPolyline.createResult(SVGCssStyle style) |
protected javafx.scene.shape.Polygon |
SVGPolygon.createResult(SVGCssStyle style) |
protected javafx.scene.shape.SVGPath |
SVGPath.createResult(SVGCssStyle style) |
protected javafx.scene.paint.LinearGradient |
SVGLinearGradient.createResult(SVGCssStyle style) |
protected javafx.scene.shape.Line |
SVGLine.createResult(SVGCssStyle style) |
protected javafx.scene.Group |
SVGGroup.createResult(SVGCssStyle style) |
protected javafx.scene.shape.Ellipse |
SVGEllipse.createResult(SVGCssStyle style) |
protected abstract TResult |
SVGElementBase.createResult(SVGCssStyle style)
Must be overwritten in the actual implementation to create a new result for this element based on the
information available.
|
protected javafx.scene.Node |
SVGDefs.createResult(SVGCssStyle style) |
protected javafx.scene.Group |
SVGClipPath.createResult(SVGCssStyle style) |
protected javafx.scene.shape.Circle |
SVGCircle.createResult(SVGCssStyle style) |
javafx.scene.Node |
SVGElementBase.getClipPath(SVGCssStyle style)
Returns a node which represents the clip path to be applied to this element.
|
SVGCssStyle |
SVGElementBase.getCssStyleAndResolveInheritance(SVGCssStyle otherStyle)
Gets the elements own
SVGCssStyle and combines it with the givne SVGCssStyle |
TResult |
SVGElementBase.getResult(SVGCssStyle style)
Gets the result if its was not yet created using the given
SVGCssStyle to create the styling. |
protected void |
SVGUse.initializeResult(javafx.scene.Group node,
SVGCssStyle inheritanceResolver) |
protected void |
SVGRoot.initializeResult(javafx.scene.Group group,
SVGCssStyle style) |
protected void |
SVGDefs.initializeResult(javafx.scene.Node node,
SVGCssStyle style) |
protected void |
SVGRectangle.initializeResult(javafx.scene.shape.Rectangle rect,
SVGCssStyle style)
This method will be called in the
SVGElementBase.createAndInitializeResult(SVGCssStyle) and allows to modify the result such as applying a style or transformations. |
protected void |
SVGStyle.initializeResult(Set<SVGCssStyle> cssStyles,
SVGCssStyle style) |
protected void |
SVGStop.initializeResult(javafx.scene.paint.Stop stop,
SVGCssStyle inheritanceResolver) |
protected void |
SVGPath.initializeResult(javafx.scene.shape.SVGPath path,
SVGCssStyle style)
This method will be called in the
SVGElementBase.createAndInitializeResult(SVGCssStyle) and allows to modify the result such as applying a style or transformations. |
protected void |
SVGNodeBase.initializeResult(TNode node,
SVGCssStyle style)
This method will be called in the
SVGElementBase.createAndInitializeResult(SVGCssStyle) and allows to modify the result such as applying a style or transformations. |
protected void |
SVGGradientBase.initializeResult(TPaint paint,
SVGCssStyle style) |
protected abstract void |
SVGElementBase.initializeResult(TResult result,
SVGCssStyle style)
This method will be called in the
SVGElementBase.createAndInitializeResult(SVGCssStyle) and allows to modify the result such as applying a style or transformations. |
protected void |
SVGShapeBase.initializeResult(TShape shape,
SVGCssStyle style)
This method will be called in the
SVGElementBase.createAndInitializeResult(SVGCssStyle) and allows to modify the result such as applying a style or transformations. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SVGStyle.initializeResult(Set<SVGCssStyle> cssStyles,
SVGCssStyle style) |
| Modifier and Type | Method and Description |
|---|---|
static <TShape extends javafx.scene.shape.Shape> |
SVGUtils.applyStyle(TShape shape,
SVGCssStyle style,
SVGDataProvider dataProvider)
Applies the basic style every
Shape supports to the given shape. |
static void |
SVGUtils.combineStylesAndResolveInheritance(SVGCssStyle style,
SVGCssStyle otherStyle)
This method will use the properties of the given style, if any property uses inheritance, the given otherStyle will be used to resolve it.
|
Copyright © 2016 Saxonia Systems AG. All rights reserved.