public class SVGAttributeTypeFillRule extends SVGAttributeType<javafx.scene.shape.FillRule,Void>
FillRule, the default value is FillRule.EVEN_ODD.| Modifier and Type | Field and Description |
|---|---|
static javafx.scene.shape.FillRule |
DEFAULT_VALUE
Determines the default value for this
SVGAttributeType. |
| Constructor and Description |
|---|
SVGAttributeTypeFillRule(SVGDocumentDataProvider dataProvider)
Creates new instance with a default value of
FillRule.EVEN_ODD. |
| Modifier and Type | Method and Description |
|---|---|
protected javafx.util.Pair<javafx.scene.shape.FillRule,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
SVGAttributeType.INHERIT_INDICATOR or SVGAttributeType.NONE_INDICATOR. |
getDocumentDataProvider, getIsInherited, getIsNone, getUnit, getValue, getValueAndUnit, hasUnit, setText, useDefaultValueequals, getText, hashCodepublic static final javafx.scene.shape.FillRule DEFAULT_VALUE
SVGAttributeType.public SVGAttributeTypeFillRule(SVGDocumentDataProvider dataProvider)
FillRule.EVEN_ODD.dataProvider - the SVGDocumentDataProvider to use when data is needed.protected javafx.util.Pair<javafx.scene.shape.FillRule,Void> getValueAndUnit(String cssText) throws SVGException
SVGAttributeTypeSVGAttributeType.INHERIT_INDICATOR or SVGAttributeType.NONE_INDICATOR.getValueAndUnit in class SVGAttributeType<javafx.scene.shape.FillRule,Void>cssText - cssText which is not equal to SVGAttributeType.INHERIT_INDICATOR or SVGAttributeType.NONE_INDICATOR.Pair which contains the value as the key and the value as the value.SVGException - when any error occurs during the consumption of the given text.Copyright © 2017 Saxonia Systems AG. All rights reserved.