AlkantarClanX12
Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__/text.cpython-311.pyc |
� �܋f� � � � d Z ddlmZ ddlmZmZmZ ddlmZm Z m Z G d� dee� � Z G d� dee� � Z G d � d eee� � Z G d� deee� � Z G d � de� � Z G d� deee� � ZdS )z� Text that is to be rendered as part of an SVG document fragment is specified using the **text** element. The characters to be drawn are expressed as XML character data inside the **text** element. � )�BaseElement)�Presentation� Transform�XLink)�iterflatlist�strlist� is_stringc �2 � � e Zd ZdZdZd� fd� Z� fd�Z� xZS )�TSpana% Within a **Text** element, text and font properties and the current text position can be adjusted with absolute or relative coordinate values by using the **TSpan** element. The characters to be drawn are expressed as XML character data inside the **TSpan** element. �tspanNc � �� t t | � � j di |�� || _ |�Ct |� � rt d� � �|s|rt d� � �|d g}|d g}|�-t t t |� � � � d� � | d<