ó
    ˆ*£hÔ	  ã                  óN   • S r SSKJr  SSKJr  SSKJr  SSKJr   " S S\	5      r
g)	zLegend of a chart.é    )Úannotations)ÚXL_LEGEND_POSITION)ÚFont)Ú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\R                  S 5       r\S	 5       r\R                  S
 5       rSrU =r$ )ÚLegendé
   zH
Represents the legend in a chart. A chart can have at most one legend.
c                ó6   >• [         [        U ]  5         Xl        g ©N)Úsuperr   Ú__init__Ú_element)ÚselfÚ
legend_elmÚ	__class__s     €ÚN/home/mande/repo/quber/.venv/lib/python3.13/site-packages/pptx/chart/legend.pyr   ÚLegend.__init__   s   ø€ ÜŒf�dÑ$Ô&Ø"�ó    c                óH   • U R                   R                  n[        U5      nU$ )zk
The |Font| object that provides access to the text properties for
this legend, such as bold, italic, etc.
)r   ÚdefRPrr   )r   r   Úfonts      r   r   ÚLegend.font   s!   € ð —‘×%Ñ%ˆÜ�F‹|ˆØˆr   c                ó.   • U R                   R                  $ )a  
Adjustment of the x position of the legend from its default.
Expressed as a float between -1.0 and 1.0 representing a fraction of
the chart width. Negative values move the legend left, positive
values move it to the right. |None| if no setting is specified.
©r   Úhorz_offset)r   s    r   r   ÚLegend.horz_offset   s   € ð �}‰}×(Ñ(Ð(r   c                ó$   • XR                   l        g r   r   ©r   Úvalues     r   r   r   '   s   € à$)�‰Õ!r   c                óN   • U R                   R                  nUc  gUR                  $ )a¢  |True| if legend should be located inside plot area.

Read/write boolean specifying whether legend should be placed inside
the plot area. In many cases this will cause it to be superimposed on
the chart itself. Assigning |None| to this property causes any
`c:overlay` element to be removed, which is interpreted the same as
|True|. This use case should rarely be required and assigning
a boolean value is recommended.
T)r   ÚoverlayÚval)r   r!   s     r   Úinclude_in_layoutÚLegend.include_in_layout+   s%   € ð —-‘-×'Ñ'ˆØ‰?ØØ�{‰{Ðr   c                ó�   • Uc  U R                   R                  5         g [        U5      U R                   R                  5       l        g r   )r   Ú_remove_overlayÚboolÚget_or_add_overlayr"   r   s     r   r#   r$   ;   s3   € à‰=Ø�M‰M×)Ñ)Ô+ØÜ15°e³ˆ�‰×(Ñ(Ó*Õ.r   c                ól   • U R                   R                  nUc  [        R                  $ UR                  $ )z
Read/write :ref:`XlLegendPosition` enumeration value specifying the
general region of the chart in which to place the legend.
)r   Ú	legendPosr   ÚRIGHTr"   )r   r*   s     r   ÚpositionÚLegend.positionB   s/   € ð —M‘M×+Ñ+ˆ	ØÑÜ%×+Ñ+Ð+Ø�}‰}Ðr   c                ó@   • XR                   R                  5       l        g r   )r   Úget_or_add_legendPosr"   )r   r,   s     r   r,   r-   M   s   € à3;�‰×*Ñ*Ó,Õ0r   )r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   Úpropertyr   Úsetterr#   r,   Ú__static_attributes__Ú__classcell__)r   s   @r   r   r   
   s©   ø† ñõ#ð ñó ðð ñ)ó ð)ð ×Ññ*ó ð*ð ñó ðð ×Ññ=ó ð=ð ñó ðð ‡_�_ñ<ó ö<r   r   N)r4   Ú
__future__r   Úpptx.enum.chartr   Úpptx.text.textr   Ú	pptx.utilr   Úobjectr   © r   r   Ú<module>r?      s"   ðÙ å "å .Ý Ý "ôE<ˆVõ E<r   