
    ,hR                     Z    d Z ddlmZmZmZmZ ddlmZ ddlm	Z	 ddl
mZ  G d de	      Zy	)
zU
Marker-related objects. Only the line-type charts Line, XY, and Radar have
markers.
    )absolute_importdivisionprint_functionunicode_literals   )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	y)Markerz`
    Represents a data point marker, such as a diamond or circle, on
    a line-type chart.
    c                 L    | j                   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     S/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/pptx/chart/marker.pyformatzMarker.format   s!     0026""    c                 L    | j                   j                  }|y|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%     %%>r   c                     | j                   j                         }|j                          |y |j                         }||_        y N)r   r   _remove_size	_add_sizeval)r   valuer   r   s       r   r   zMarker.size,   s=    002=!r   c                 L    | j                   j                  }|y|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.style5   s'     %%>   r   c                     | j                   j                         }|j                          |y |j                         }||_        y r   )r   r   _remove_symbol_add_symbolr   )r   r   r   symbols       r   r!   zMarker.styleA   s=    002=##%
r   N)
__name__
__module____qualname____doc__r
   r   propertyr   setterr!    r   r   r   r      ss    
 # #   
[[  	! 	! \\ r   r   N)r)   
__future__r   r   r   r   
dml.chtfmtr   sharedr	   utilr
   r   r,   r   r   <module>r1      s(   
 S R $ ! 9\ 9r   