
    hi                    2    d Z ddlmZ  G d de          ZdS )z?Visual effects on a shape such as shadow, glow, and reflection.    )annotationsc                  N    e Zd ZdZd Zed             Zej        d             ZdS )ShadowFormatz,Provides access to shadow effect on a shape.c                    || _         d S N)_element)selfspPrs     g/var/www/development/aibuddy-work/election-extract/venv/lib/python3.11/site-packages/pptx/dml/effect.py__init__zShadowFormat.__init__	   s        c                "    | j         j        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	   s    r   inheritzShadowFormat.inherit   s      ="*4ur   c                    t          |          }|r| j                                         d S | j                                         d S r   )boolr   _remove_effectLstget_or_add_effectLst)r	   valuer   s      r   r   zShadowFormat.inherit!   sK    u++ 	1M++----- M..00000r   N)__name__
__module____qualname____doc__r   propertyr   setter r   r   r   r      sa        66     X& ^1 1 ^1 1 1r   r   N)r   
__future__r   objectr   r   r   r   <module>r      sQ    E E " " " " " "#1 #1 #1 #1 #16 #1 #1 #1 #1 #1r   