| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib/python3.7/site-packages/svgwrite/__pycache__/ |
Upload File : |
B
��]
� @ s� d Z ddlmZ ddlmZmZmZ ddlmZm Z m
Z
mZ G dd� dee�ZG dd� dee�Z
G d d
� d
eee�ZG dd� deee�ZG d
d� de�ZG dd� 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_string�
to_unicodec s2 e Zd ZdZdZd� fdd� Z� fdd�Z� ZS ) �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.
ZtspanNc s� t t| �jf |� || _|dk rTt|�r0td��|s8|r@td��|d g}|d g}|dk rrttt |��d�| d<