U
    6¦”cß  ć                   @   s0   d dl mZmZmZ dd Zdd Zdd ZdS )	é   )ŚFillTypeŚLineTypeŚZInterpc                 C   s   t | trtj|  } | S )z§Coerce a FillType or string value to a FillType.

    Args:
        fill_type (FillType or str): Value to convert.

    Return:
        FillType: Converted value.
    )Ś
isinstanceŚstrr   Ś__members__)Z	fill_type© r   ś7/tmp/pip-unpacked-wheel-9ja4spaj/contourpy/enum_util.pyŚas_fill_type   s    	

r
   c                 C   s   t | trtj|  } | S )z§Coerce a LineType or string value to a LineType.

    Args:
        line_type (LineType or str): Value to convert.

    Return:
        LineType: Converted value.
    )r   r   r   r   )Ś	line_typer   r   r	   Śas_line_type   s    	

r   c                 C   s   t | trtj|  } | S )z¢Coerce a ZInterp or string value to a ZInterp.

    Args:
        z_interp (ZInterp or str): Value to convert.

    Return:
        ZInterp: Converted value.
    )r   r   r   r   )Zz_interpr   r   r	   Śas_z_interp    s    	

r   N)Z
_contourpyr   r   r   r
   r   r   r   r   r   r	   Ś<module>   s   