관리-도구
편집 파일: pattern.cpython-37.pyc
B ��]� � @ 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<