Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__/params.cpython-311.pyc

�

�܋fo��.�ddlmZGd�de��ZdS)�)�
get_validatorc��eZdZdZgd�Zd
d�Zd�Zed���Zej	d���Zd	�Z
ed
���Zej	d���ZdS)�	Parametera
    .. attribute:: Parameter.debug

       *read/write* property

       * *True* : debug mode is on, all SVG attributes are checked if valid
         in the element context. Also the included SVG subelements will be
         checked if they are valid for the parent SVG element.

       * *False*: no validation checks will be done, but program execution is
         faster.

    .. attribute:: Parameter.profile

       *read/write* property

       name of the SVG profile, valid profiles are: ``'full|basic|tiny'``
    )�_debug�	validator�_profileT�fullc�"�||_||_dS�N)r�profile)�self�debugrs   �`/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/svgwrite/params.py�__init__zParameter.__init__!s����������c�D�t|j|j��|_dSr)rrrr�r
s r�_init_validatorzParameter._init_validator%s��&�t�|�d�j�A�A����rc��|jSr)rrs rrzParameter.debug(s
���{�rc�<�||_|���dSr)rr)r
rs  rrzParameter.debug,s!������������rc� �|jdkrdSdS)N�tinyz1.2z1.1�rrs r�get_versionzParameter.get_version1s���=�F�"�"��5��5rc��|jSrrrs rrzParameter.profile7s
���}�rc��|���}|dvr||_|���dStd|z���)zt
        :param string profile: name of the SVG profile, valid profiles are:
        ``'full|basic|tiny'``

        )r�basicr	z'%s' is not a valid profile.N)�lowerrr�
ValueError)r
rs  rrzParameter.profile;sP���-�-�/�/���/�/�/�#�D�M�� � �"�"�"�"�"��;�g�E�F�F�FrN)Tr	)�__name__�
__module__�__qualname__�__doc__�	__slots__rr�propertyr�setterrr�rrrrs���������$4�3�3�I�����B�B�B�����X���\����\���������X��
�^�G�G��^�G�G�GrrN)�svgwrite.validator2r�objectrr'rr�<module>r*sW��.�-�-�-�-�-�;G�;G�;G�;G�;G��;G�;G�;G�;G�;Gr

Hacked By AnonymousFox1.0, Coded By AnonymousFox