public class Path extends SVGShapeBase<javafx.scene.shape.SVGPath>
| Constructor and Description |
|---|
Path(String name,
Attributes attributes,
SVGElementBase<SVGDataProvider> parent,
SVGDataProvider dataProvider)
Creates a new instance of he element using the given attributes and the parent.
|
| Modifier and Type | Method and Description |
|---|---|
protected javafx.scene.shape.SVGPath |
createResultInternal()
Must be overwritten in the actual implementation to create a new result for this element based on the
information available.
|
protected void |
initializeResult(javafx.scene.shape.SVGPath path)
This method will be called in the
SVGElementBase.createResult()
and allows to modify the result such as applying a style or transformations.
|
createResult, endProcessing, getCssStyle, getResult, getTransformation, processCharacterData, startProcessinggetAttribute, getAttributes, getChildren, getDataProvider, getName, getParentpublic Path(String name, Attributes attributes, SVGElementBase<SVGDataProvider> parent, SVGDataProvider dataProvider)
name - value of the elementattributes - attributes of the elementparent - parent of the elementdataProvider - dataprovider to be usedprotected final javafx.scene.shape.SVGPath createResultInternal()
SVGElementBasecreateResultInternal in class SVGElementBase<javafx.scene.shape.SVGPath>
protected final void initializeResult(javafx.scene.shape.SVGPath path)
SVGElementBase.createResult()
and allows to modify the result such as applying a style or transformations.
Will apply the transformation to the element.
Applies the css style the the element if possible.
Applies the file rule to the path.
initializeResult in class SVGShapeBase<javafx.scene.shape.SVGPath>
path - the result which should be modified.Copyright © 2015 Saxonia Systems AG. All rights reserved.