Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
svgwrite
/
__pycache__
/
File Content:
pattern.cpython-37.opt-1.pyc
B s�]� � @ sL d dl mZ d dlmZmZmZmZ d dlmZ G dd� deeeee�Z dS )� )�BaseElement)�XLink�ViewBox� Transform�Presentation)� is_stringc s4 e Zd ZdZdZdZd � fdd� Zddd �Z� ZS )�Patterna� A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted. Patterns are defined using a `pattern` element and then referenced by properties `fill` and `stroke` on a given graphics element to indicate that the given element shall be filled or stroked with the referenced pattern. �patternZpatternTransformNc s� t t| �jf |� |dk r2|d | d<