File: //opt/alt/python27/lib/python2.7/site-packages/svgwrite/animate.pyo
�
oQ+Pc           @   s�   d  d l  m Z d  d l m Z d  d l m Z m Z d e e f d �  �  YZ d e f d �  �  YZ d e f d	 �  �  YZ	 d
 e	 f d �  �  YZ
 d e	 f d
 �  �  YZ d S(   i����(   t   BaseElement(   t   XLink(   t   strlistt	   is_stringt   Setc        	   B   st   e  Z d  Z d Z d d � Z d �  Z d d � Z d d d d d � Z d d d d d d d d d � Z	 d �  Z
 RS(	   s�   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.
    t   setc         K   s6   t  t |  � j | �  | d k	 r2 |  j | � n  d S(   s�    Set constructor.
        :param href: target svg element, if **href** is not `None`; else
            the target SVG Element is the parent SVG Element.
        N(   t   superR   t   __init__t   Nonet   set_href(   t   selft   hreft   extra(    (    sA   /opt/alt/python27/lib/python2.7/site-packages/svgwrite/animate.pyR      s    c         C   s   |  j  �  t t |  � j �  S(   N(   t	   update_idR   R   t   get_xml(   R
   (    (    sA   /opt/alt/python27/lib/python2.7/site-packages/svgwrite/animate.pyR      s    
c         C   s'