ó
    ˆ*£hï  ã                  óR   • S r SSKJr  SSKJr  SSKJr  SSKJrJ	r	   " S S\
5      rg)	z-DrawingML objects related to line formatting.é    )Úannotations)Ú
FillFormat)ÚMSO_FILL)ÚEmuÚlazypropertyc                  óÊ   ^ • \ rS rSrSrU 4S jr\S 5       r\S 5       r	\	R                  S 5       r	\S 5       r\S 5       r\R                  S	 5       rS
 r\S 5       rSrU =r$ )Ú
LineFormaté
   z³Provides access to line properties such as color, style, and width.

A LineFormat object is typically accessed via the ``.line`` property of
a shape such as |Shape| or |Picture|.
c                ó6   >• [         [        U ]  5         Xl        g ©N)Úsuperr	   Ú__init__Ú_parent)ÚselfÚparentÚ	__class__s     €ÚJ/home/mande/repo/quber/.venv/lib/python3.13/site-packages/pptx/dml/line.pyr   ÚLineFormat.__init__   s   ø€ ÜŒj˜$Ñ(Ô*Ø�ó    c                ó²   • U R                   R                  [        R                  :w  a  U R                   R	                  5         U R                   R
                  $ )ae  
The |ColorFormat| instance that provides access to the color settings
for this line. Essentially a shortcut for ``line.fill.fore_color``.
As a side-effect, accessing this property causes the line fill type
to be set to ``MSO_FILL.SOLID``. If this sounds risky for your use
case, use ``line.fill.type`` to non-destructively discover the
existing fill type.
)ÚfillÚtyper   ÚSOLIDÚsolidÚ
fore_color©r   s    r   ÚcolorÚLineFormat.color   s6   € ð �9‰9�>‰>œXŸ^™^Ó+Ø�I‰I�O‰OÔØ�y‰y×#Ñ#Ð#r   c                ó:   • U R                   nUc  gUR                  $ )a;  Return value indicating line style.

Returns a member of :ref:`MsoLineDashStyle` indicating line style, or
|None| if no explicit value has been set. When no explicit value has
been set, the line dash style is inherited from the style hierarchy.

Assigning |None| removes any existing explicitly-defined dash style.
N)Ú_lnÚprstDash_val©r   Úlns     r   Ú
dash_styleÚLineFormat.dash_style#   s   € ð �X‰XˆØ‰:ØØ�‰Ðr   c                ó˜   • Uc1  U R                   nUc  g UR                  5         UR                  5         g U R                  5       nXl        g r   )r    Ú_remove_prstDashÚ_remove_custDashÚ_get_or_add_lnr!   )r   r$   r#   s      r   r$   r%   2   sG   € àÑØ—‘ˆBØ‰zØØ×ÑÔ!Ø×ÑÔ!ØØ× Ñ Ó"ˆØ$�r   c                óN   • U R                  5       n[        R                  " U5      $ )zd
|FillFormat| instance for this line, providing access to fill
properties such as foreground color.
)r)   r   Úfrom_fill_parentr"   s     r   r   ÚLineFormat.fill>   s#   € ð × Ñ Ó"ˆÜ×*Ò*¨2Ó.Ð.r   c                óN   • U R                   nUc  [        S5      $ UR                  $ )zÿ
The width of the line expressed as an integer number of :ref:`English
Metric Units <EMU>`. The returned value is an instance of |Length|,
a value class having properties such as `.inches`, `.cm`, and `.pt`
for converting the value into convenient units.
r   )r    r   Úwr"   s     r   ÚwidthÚLineFormat.widthG   s$   € ð �X‰XˆØ‰:Ü�q“6ˆMØ�t‰tˆr   c                ó:   • Uc  SnU R                  5       nXl        g )Nr   )r)   r.   )r   Úemur#   s      r   r/   r0   T   s   € à‰;ØˆCØ× Ñ Ó"ˆØ�r   c                ó6   • U R                   R                  5       $ )zQ
Return the ``<a:ln>`` element containing the line format properties
in the XML.
)r   Úget_or_add_lnr   s    r   r)   ÚLineFormat._get_or_add_ln[   s   € ð
 �|‰|×)Ñ)Ó+Ð+r   c                ó.   • U R                   R                  $ r   )r   r#   r   s    r   r    ÚLineFormat._lnb   s   € à�|‰|�‰Ðr   )r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   Úpropertyr$   Úsetterr   r/   r)   r    Ú__static_attributes__Ú__classcell__)r   s   @r   r	   r	   
   s¨   ø† ñõð ñ$ó ð$ð ñó ðð ×Ññ	%ó ð	%ð ñ/ó ð/ð ñ
ó ð
ð ‡\�\ñó ðò,ð ñó ör   r	   N)r<   Ú
__future__r   Úpptx.dml.fillr   Úpptx.enum.dmlr   Ú	pptx.utilr   r   Úobjectr	   © r   r   Ú<module>rG      s"   ðÙ 3å "å $Ý "ß 'ôZ�õ Zr   