java.lang.Object
io.sf.carte.echosvg.svggen.SVGAttribute
Represents an SVG attribute and provides convenience methods to determine
whether or not the attribute applies to a given element type.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SVGAttribute
- Parameters:
applicabilitySet
- Set of Element tags (Strings) to which the attribute appliesisSetInclusive
- defines whether elements in applicabilitySet define the list of elements to which the attribute applies or to which it does not apply
-
-
Method Details
-
appliesTo
- Parameters:
tag
- the tag of the Element to which the attribute could apply.- Returns:
- true if the attribute applies to the given Element
-