
    hi                    V    d Z ddlmZ ddlmZ ddlmZ ddlmZ  G d de          Z	dS )	zUMarker-related objects.

Only the line-type charts Line, XY, and Radar have markers.
    )annotations)ChartFormat)ElementProxy)lazypropertyc                      e Zd ZdZed             Zed             Zej        d             Zed             Z	e	j        d             Z	dS )Markerz`
    Represents a data point marker, such as a diamond or circle, on
    a line-type chart.
    c                R    | j                                         }t          |          S )z
        The |ChartFormat| instance for this marker, providing access to shape
        properties such as fill and line.
        )_elementget_or_add_markerr   selfmarkers     i/var/www/development/aibuddy-work/election-extract/venv/lib/python3.11/site-packages/pptx/chart/marker.pyformatzMarker.format   s%     00226"""    c                0    | j         j        }|dS |j        S )aw  
        An integer between 2 and 72 inclusive indicating the size of this
        marker in points. A value of |None| indicates no explicit value is
        set and the size is inherited from a higher-level setting or the
        PowerPoint default (which may be 9). Assigning |None| removes any
        explicitly assigned size, causing this value to be inherited.
        N)r
   r   size_valr   s     r   sizezMarker.size   s      %>4r   c                    | j                                         }|                                 |d S |                                }||_        d S N)r
   r   _remove_size	_add_sizeval)r   valuer   r   s       r   r   zMarker.size*   sM    0022=F!!r   c                0    | j         j        }|dS |j        S )z
        A member of the :ref:`XlMarkerStyle` enumeration indicating the shape
        of this marker. Returns |None| if no explicit style has been set,
        which corresponds to the "Automatic" option in the PowerPoint UI.
        N)r
   r   
symbol_valr   s     r   stylezMarker.style3   s!     %>4  r   c                    | j                                         }|                                 |d S |                                }||_        d S r   )r
   r   _remove_symbol_add_symbolr   )r   r   r   symbols       r   r   zMarker.style?   sM    0022=F##%%


r   N)
__name__
__module____qualname____doc__r   r   propertyr   setterr    r   r   r   r      s         
 # # \#   X 
[  [ 	! 	! X	! \  \  r   r   N)
r%   
__future__r   pptx.dml.chtfmtr   pptx.sharedr   	pptx.utilr   r   r(   r   r   <module>r-      s    
 # " " " " " ' ' ' ' ' ' $ $ $ $ $ $ " " " " " "9 9 9 9 9\ 9 9 9 9 9r   