File: //opt/alt/python37/lib/python3.7/site-packages/svgwrite/__pycache__/animate.cpython-37.pyc
B
s�]: � @ s~ d dl mZ d dlmZ d dlmZmZ G dd� dee�ZG dd� de�ZG dd � d e�Z G d
d� de �Z
G dd
� d
e �ZdS )� )�BaseElement)�XLink)�strlist� is_stringc sX e Zd ZdZdZd� fdd� Z� fdd�Zddd �Zdd
d�Zddd
�Z dd� Z
� ZS )�Seta� The **set** element provides a simple means of just setting the value
of an attribute for a specified duration. It supports all attribute types,
including those that cannot reasonably be interpolated, such as string
and boolean values. The **set** element is non-additive. The additive and
accumulate attributes are not allowed, and will be ignored if specified.
�setNc s( t t| �jf |� |dk r$| �|� dS )z� Set constructor.
:param href: target svg element, if **href** is not `None`; else
the target SVG Element is the parent SVG Element.
N)�superr �__init__Zset_href)�self�href�extra)� __class__� �/animate.pyr s zSet.__init__c s | � � tt| ��� S )N)Z update_idr r �get_xml)r
)r
r r r s zSet.get_xmlc C s || d<