Class SvgAttributeInheritance
java.lang.Object
com.itextpdf.svg.css.impl.SvgAttributeInheritance
- All Implemented Interfaces:
IStyleInheritance
Helper class that allows you to check if a property is inheritable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionSet of inheritable SVG style attributes in accordance with "https://www.w3.org/TR/SVG2/propidx.html". -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisInheritable(String cssProperty) Checks if a property or attribute is inheritable is inheritable.
-
Field Details
-
inheritableProperties
-
-
Constructor Details
-
SvgAttributeInheritance
public SvgAttributeInheritance()
-
-
Method Details
-
isInheritable
Description copied from interface:IStyleInheritanceChecks if a property or attribute is inheritable is inheritable.- Specified by:
isInheritablein interfaceIStyleInheritance- Parameters:
cssProperty- the identifier for property- Returns:
- true, if the property is inheritable, false otherwise
-