Package com.itextpdf.svg.css.impl
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 "http://www.w3schools.com/cssref/" and "https://developer.mozilla.org/en-US/docs/Web/CSS/Reference" -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isInheritable
(String cssProperty) Checks if a property or attribute is inheritable is inheritable.
-
Field Details
-
inheritableProperties
Set of inheritable SVG style attributes in accordance with "http://www.w3schools.com/cssref/" and "https://developer.mozilla.org/en-US/docs/Web/CSS/Reference"
-
-
Constructor Details
-
SvgAttributeInheritance
public SvgAttributeInheritance()
-
-
Method Details
-
isInheritable
Description copied from interface:IStyleInheritance
Checks if a property or attribute is inheritable is inheritable.- Specified by:
isInheritable
in interfaceIStyleInheritance
- Parameters:
cssProperty
- the identifier for property- Returns:
- true, if the property is inheritable, false otherwise
-