
    ,h]                     f    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 ddlmZ  G d	 d
e      Zy)z
|ChartFormat| and related objects. |ChartFormat| acts as proxy for the `spPr`
element, which provides visual shape properties such as line and fill for
chart elements.
    )absolute_importdivisionprint_functionunicode_literals   )
FillFormat)
LineFormat   )ElementProxy)lazypropertyc                   0    e Zd ZdZed        Zed        Zy)ChartFormataz  
    The |ChartFormat| object provides access to visual shape properties for
    chart elements like |Axis|, |Series|, and |MajorGridlines|. It has two
    properties, :attr:`fill` and :attr:`line`, which return a |FillFormat|
    and |LineFormat| object respectively. The |ChartFormat| object is
    provided by the :attr:`format` property on the target axis, series, etc.
    c                 `    | j                   j                         }t        j                  |      S )zx
        |FillFormat| instance for this object, providing access to fill
        properties such as fill color.
        )_elementget_or_add_spPrr   from_fill_parentselfspPrs     Q/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/pptx/dml/chtfmt.pyfillzChartFormat.fill   s'     }},,.**400    c                 L    | j                   j                         }t        |      S )z
        The |LineFormat| object providing access to the visual properties of
        this object, such as line color and line style.
        )r   r   r	   r   s     r   linezChartFormat.line#   s!     }},,.$r   N)__name__
__module____qualname____doc__r   r   r    r   r   r   r      s/     1 1    r   r   N)r   
__future__r   r   r   r   r   r   r   r	   sharedr   utilr   r   r   r   r   <module>r#      s+    S R   !  ,  r   