public class SVGCssContentTypePaint extends SVGCssContentTypeBase<javafx.scene.paint.Paint,Void>
Paint used to color fill and strokes, the default value is Color.TRANSPARENT.| Modifier and Type | Field and Description |
|---|---|
static javafx.scene.paint.Paint |
DEFAULT_VALUE
Determines the default color to use for a
SVGCssContentTypePaint. |
INHERIT_INDICATOR, NONE_INDICATORdefaultValue, unit, value| Constructor and Description |
|---|
SVGCssContentTypePaint(SVGDataProvider dataProvider)
Creates new instance with a default value of
Color.BLACK. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIsCurrentColor() |
protected javafx.util.Pair<javafx.scene.paint.Paint,Void> |
getValueAndUnit(String cssText)
This will be called if actual data is present in the css text, this is the case if the cssText is not
SVGCssContentTypeBase.INHERIT_INDICATOR or SVGCssContentTypeBase.NONE_INDICATOR. |
equals, getDataProvider, getIsInherited, getIsNone, hashCode, parseCssTextgetDefaultValue, getUnit, getValue, setUnit, setValuepublic static final javafx.scene.paint.Paint DEFAULT_VALUE
SVGCssContentTypePaint.public SVGCssContentTypePaint(SVGDataProvider dataProvider)
Color.BLACK.dataProvider - the SVGDataProvider to use when data is needed.public boolean getIsCurrentColor()
isCurrentColor.protected javafx.util.Pair<javafx.scene.paint.Paint,Void> getValueAndUnit(String cssText)
SVGCssContentTypeBaseSVGCssContentTypeBase.INHERIT_INDICATOR or SVGCssContentTypeBase.NONE_INDICATOR.getValueAndUnit in class SVGCssContentTypeBase<javafx.scene.paint.Paint,Void>cssText - cssText which is not equal to SVGCssContentTypeBase.INHERIT_INDICATOR or SVGCssContentTypeBase.NONE_INDICATOR.Pair which contains the value as the key and the value as the value.Copyright © 2016 Saxonia Systems AG. All rights reserved.