o
    7 ¾hõ  ã                   @  s$   d Z ddlmZ G dd„ deƒZdS )z?Visual effects on a shape such as shadow, glow, and reflection.é    )Úannotationsc                   @  s2   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZdS )ÚShadowFormatz,Provides access to shadow effect on a shape.c                 C  s
   || _ d S ©N)Ú_element)ÚselfÚspPr© r   úW/var/www/html/figdemos/bartoux_crm/venv/lib/python3.10/site-packages/pptx/dml/effect.pyÚ__init__	   s   
zShadowFormat.__init__c                 C  s   | j jdu rdS dS )aÙ  True if shape inherits shadow settings.

        Read/write. An explicitly-defined shadow setting on a shape causes
        this property to return |False|. A shape with no explicitly-defined
        shadow setting inherits its shadow settings from the style hierarchy
        (and so returns |True|).

        Assigning |True| causes any explicitly-defined shadow setting to be
        removed and inheritance is restored. Note this has the side-effect of
        removing **all** explicitly-defined effects, such as glow and
        reflection, and restoring inheritance for all effects on the shape.
        Assigning |False| causes the inheritance link to be broken and **no**
        effects to appear on the shape.
        NTF)r   Ú	effectLst)r   r   r   r	   Úinherit   s   zShadowFormat.inheritc                 C  s(   t |ƒ}|r| j ¡  d S | j ¡  d S r   )Úboolr   Ú_remove_effectLstÚget_or_add_effectLst)r   Úvaluer   r   r   r	   r   !   s   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   Úpropertyr   Úsetterr   r   r   r	   r      s    
r   N)r   Ú
__future__r   Úobjectr   r   r   r   r	   Ú<module>   s    