관리-도구
편집 파일: text.cpython-37.pyc
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<