�
��gm# � �� � d Z ddlmZ ddlmZ ddlmZmZmZm Z ddl
Z
ddlmZm
Z
mZmZmZmZmZ e
j e� � ZeZddd d
d�Ze G d� d
� � � � Zdd�Zdd�Zdd�Zd d�ZdS )!a- Compute name information for a given location in user-space coordinates
using STAT data. This can be used to fill-in automatically the names of an
instance:
.. code:: python
instance = doc.instances[0]
names = getStatNames(doc, instance.getFullUserLocation(doc))
print(names.styleNames)
� )�annotations)� dataclass)�Dict�Optional�Tuple�UnionN)�AxisDescriptor�AxisLabelDescriptor�DesignSpaceDocument�DesignSpaceDocumentError�DiscreteAxisDescriptor�SimpleLocationDict�SourceDescriptor�regular�italic�boldzbold italic))FF)FT)TF)TTc �F � e Zd ZU dZded<