public class SVGStyleableAddition extends StyleableAdditionBase
Group which holds the loaded svg data if any.| Type | Property and Description |
|---|---|
javafx.beans.property.ObjectProperty<String> |
svgUrl
Returns the Url to the svg image to be used.
|
javafx.beans.property.ObjectProperty<Boolean> |
willCacheSvg
Returns the WillCacheSvg.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SVGStyleableAddition.ParseException
Will be thrown when the parsing of a svg file fails.
|
| Constructor and Description |
|---|
SVGStyleableAddition()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPath(javafx.scene.shape.SVGPath path)
Adds the given path to the svg group.
|
static List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> |
getClassCssMetaData() |
javafx.scene.Group |
getSvgGroup()
Returns the
svgGroup. |
String |
getSvgUrl()
Gets the value of the Url.
|
Boolean |
getWillCacheSvg()
Gets the value of the WillCacheSvg.
|
void |
setSvgUrl(String value)
sets the value of the Url.
|
void |
setWillCacheSvg(Boolean value)
Sets the value of the WillCacheSvg.
|
javafx.beans.property.ObjectProperty<String> |
svgUrlProperty()
Returns the Url to the svg image to be used.
|
javafx.beans.property.ObjectProperty<Boolean> |
willCacheSvgProperty()
Returns the WillCacheSvg.
|
getStyleableAdditionpublic final javafx.beans.property.ObjectProperty<String> svgUrlProperty
public final javafx.beans.property.ObjectProperty<Boolean> willCacheSvgProperty
public final javafx.scene.Group getSvgGroup()
svgGroup.svgGrouppublic final String getSvgUrl()
public final void setSvgUrl(String value)
value - value to be usedpublic final Boolean getWillCacheSvg()
public final void setWillCacheSvg(Boolean value)
value - value to be usedpublic static List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> getClassCssMetaData()
public final javafx.beans.property.ObjectProperty<String> svgUrlProperty()
public final javafx.beans.property.ObjectProperty<Boolean> willCacheSvgProperty()
public void addPath(javafx.scene.shape.SVGPath path)
path - path to addCopyright © 2017 Saxonia Systems AG. All rights reserved.