ET ~ d Z ddlmZ ddlmZmZmZ ddlmZ ddl m Z mZmZ ddl m Z mZ ddlmZ G d d eee Z G d de Z G d d ee e e Z G d dee e ZdZ G d de Z G d deeee Z G d deee Z G d de Z G d de ZdS )a The **container** module provides following structural objects: * :class:`svgwrite.Group` * :class:`svgwrite.SVG` * :class:`svgwrite.Defs` * :class:`svgwrite.Symbol` * :class:`svgwrite.Marker` * :class:`svgwrite.Use` * :class:`svgwrite.Hyperlink` * :class:`svgwrite.Script` * :class:`svgwrite.Style` set/get SVG attributes:: element['attribute'] = value value = element['attribute'] )urlopen) font_mimetypebase64_datafind_first_url)BaseElement)ViewBox TransformXLink)PresentationClipping)CDATAc e Zd ZdZdZdS )Groupa\ The **Group** (SVG **g**) element is a container element for grouping together related graphics elements. Grouping constructs, when used in conjunction with the **desc** and **title** elements, provide information about document structure and semantics. Documents that are rich in structure may be rendered graphically, as speech, or as braille, and thus promote accessibility. A group of elements, as well as individual objects, can be given a name using the **id** attribute. Named groups are needed for several purposes such as animation and re-usable objects. gN__name__ __module____qualname____doc__elementname d/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/svgwrite/container.pyr r " s KKKr r c e Zd ZdZdZdS )Defsz The **defs** element is a container element for referenced elements. For understandability and accessibility reasons, it is recommended that, whenever possible, referenced elements be defined inside of a **defs**. defsNr r r r r r 3 s KKKr r c e Zd ZdZdZdS )Symbola 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. symbolNr r r r r r ; s KKKr r c ( e Zd ZdZdZd fd Z xZS )Markera) The **marker** element defines the graphics that is to be used for drawing arrowheads or polymarkers on a given **path**, **line**, **polyline** or **polygon** element. Add Marker definitions to a **defs** section, preferred to the **defs** section of the **main drawing**. markerNc t t | j d i | ||d | d<