LabelProperties - Параметры подписывания =================================================================== .. currentmodule:: axioma.render .. class:: LabelProperties Параметры подписывания .. method:: LabelProperties() Конструктор класса .. method:: isEmpty() Является ли пустым; считается пустым, если не определена позиция подписи :return: является ли пустым :rtype: :class:`bool` .. attribute:: callout Выноска :type: :class:`~axioma.render.LabelCallout` .. attribute:: position Позиция подписи :type: :class:`~axioma.core.geometry.PointInterface` .. attribute:: layout Положение подписи :type: :class:`~axioma.render.LabelLayout` .. class:: LabelLayout Положение подписи .. class:: LabellingAlignment .. csv-table:: Выравнивание по краю :header: Наименование, Значение, Описание Left, 1, По левому Top, 2, По верхнему Right, 3, По правому Bottom, 4, По нижнему Center, 5, По центру TopLeft, 6, По верхнему левому TopRight, 7, По верхнему правому BottomLeft, 8, По нижнему левому BottomRight, 9, По нижнему правому .. method:: LabelLayout() Конструктор класса .. method:: LabelLayout(alignment, offset) Конструктор класса :param alignment: выравнивание :type alignment: :class:`~axioma.render.LabelLayout.LabellingAlignment` :param offset: смещение :type offset: :class:`int` .. attribute:: alignment Выравнивание :type: :class:`~axioma.render.LabelLayout.LabellingAlignment` .. attribute:: offset Смещение :type: :class:`int` .. class:: LabelCallout Выноска .. class:: EndType .. csv-table:: Тип выноски. :header: Наименование, Значение, Описание None, 0, Не отображать Line, 1, Линия Arrow, 2, Стрелка .. method:: LabelCallout() Конструктор класса .. method:: LabelCallout(style, endType=0) Конструктор класса :param style: стиль линии выноски :type style: :class:`~axioma.render.LineStringStyle` :param endType: тип выноски :type endType: :class:`~axioma.render.LabelCallout.EndType` .. method:: endType() Тип выноски :return: тип выноски :rtype: :class:`~axioma.render.LabelCallout.EndType` .. method:: setEndType(endType) Задать тип выноски :param endType: тип выноски :type endType: :class:`~axioma.render.LabelCallout.EndType` .. method:: isVisible() Видимость выноски :return: видимость выноски :rtype: :class:`bool` .. method:: lineStringStyle() Стиль линии выноски :return: стиль линии выноски :rtype: :class:`~axioma.render.LineStringStyle` .. method:: setLineStringStyle(lineStringStyle) Задать стиль линии выноски .. note:: для редактирования стиля используйте готовый диалог :class:`~axioma.gui.StyleEditDialog` :param lineStringStyle: стиль линии выноски :type lineStringStyle: :class:`~axioma.render.LineStringStyle`