Symbol¶
-
class
svgwrite.container.
Symbol
(**extra)¶ The symbol element is used to define graphical template objects which can be instantiated by a use element. The use of symbol elements for graphics that are used multiple times in the same document adds structure and semantics. Documents that are rich in structure may be rendered graphically, as speech, or as braille, and thus promote accessibility.
Parent Classes¶
SVG Attributes¶
class – string
assigns one or more css-class-names to an element
style – string
allows per-element css-style rules to be specified directly on a given element
externalResourcesRequired – bool
False: if document rendering can proceed even if external resources are unavailable else: True
viewBox – use
svgwrite.mixins.ViewBox
interfacepreserveAspectRatio – use
svgwrite.mixins.ViewBox
interface