# The following has been generated automatically from src/core/callouts/qgscallout.h # monkey patching scoped based enum QgsCallout.MinimumCalloutLength = QgsCallout.Property.MinimumCalloutLength QgsCallout.MinimumCalloutLength.is_monkey_patched = True QgsCallout.MinimumCalloutLength.__doc__ = "Minimum length of callouts" QgsCallout.OffsetFromAnchor = QgsCallout.Property.OffsetFromAnchor QgsCallout.OffsetFromAnchor.is_monkey_patched = True QgsCallout.OffsetFromAnchor.__doc__ = "Distance to offset lines from anchor points" QgsCallout.OffsetFromLabel = QgsCallout.Property.OffsetFromLabel QgsCallout.OffsetFromLabel.is_monkey_patched = True QgsCallout.OffsetFromLabel.__doc__ = "Distance to offset lines from label area" QgsCallout.DrawCalloutToAllParts = QgsCallout.Property.DrawCalloutToAllParts QgsCallout.DrawCalloutToAllParts.is_monkey_patched = True QgsCallout.DrawCalloutToAllParts.__doc__ = "Whether callout lines should be drawn to all feature parts" QgsCallout.AnchorPointPosition = QgsCallout.Property.AnchorPointPosition QgsCallout.AnchorPointPosition.is_monkey_patched = True QgsCallout.AnchorPointPosition.__doc__ = "Feature's anchor point position" QgsCallout.LabelAnchorPointPosition = QgsCallout.Property.LabelAnchorPointPosition QgsCallout.LabelAnchorPointPosition.is_monkey_patched = True QgsCallout.LabelAnchorPointPosition.__doc__ = "Label's anchor point position" QgsCallout.OriginX = QgsCallout.Property.OriginX QgsCallout.OriginX.is_monkey_patched = True QgsCallout.OriginX.__doc__ = "X-coordinate of callout origin (label anchor) \n.. versionadded:: 3.20" QgsCallout.OriginY = QgsCallout.Property.OriginY QgsCallout.OriginY.is_monkey_patched = True QgsCallout.OriginY.__doc__ = "Y-coordinate of callout origin (label anchor) \n.. versionadded:: 3.20" QgsCallout.DestinationX = QgsCallout.Property.DestinationX QgsCallout.DestinationX.is_monkey_patched = True QgsCallout.DestinationX.__doc__ = "X-coordinate of callout destination (feature anchor) \n.. versionadded:: 3.20" QgsCallout.DestinationY = QgsCallout.Property.DestinationY QgsCallout.DestinationY.is_monkey_patched = True QgsCallout.DestinationY.__doc__ = "Y-coordinate of callout destination (feature anchor) \n.. versionadded:: 3.20" QgsCallout.Curvature = QgsCallout.Property.Curvature QgsCallout.Curvature.is_monkey_patched = True QgsCallout.Curvature.__doc__ = "Curvature of curved line callouts \n.. versionadded:: 3.20" QgsCallout.Orientation = QgsCallout.Property.Orientation QgsCallout.Orientation.is_monkey_patched = True QgsCallout.Orientation.__doc__ = "Orientation of curved line callouts \n.. versionadded:: 3.20" QgsCallout.Margins = QgsCallout.Property.Margins QgsCallout.Margins.is_monkey_patched = True QgsCallout.Margins.__doc__ = "Margin from text \n.. versionadded:: 3.20" QgsCallout.WedgeWidth = QgsCallout.Property.WedgeWidth QgsCallout.WedgeWidth.is_monkey_patched = True QgsCallout.WedgeWidth.__doc__ = "Balloon callout wedge width \n.. versionadded:: 3.20" QgsCallout.CornerRadius = QgsCallout.Property.CornerRadius QgsCallout.CornerRadius.is_monkey_patched = True QgsCallout.CornerRadius.__doc__ = "Balloon callout corner radius \n.. versionadded:: 3.20" QgsCallout.BlendMode = QgsCallout.Property.BlendMode QgsCallout.BlendMode.is_monkey_patched = True QgsCallout.BlendMode.__doc__ = "Callout blend mode \n.. versionadded:: 3.20" QgsCallout.Property.__doc__ = """Data definable properties. * ``MinimumCalloutLength``: Minimum length of callouts * ``OffsetFromAnchor``: Distance to offset lines from anchor points * ``OffsetFromLabel``: Distance to offset lines from label area * ``DrawCalloutToAllParts``: Whether callout lines should be drawn to all feature parts * ``AnchorPointPosition``: Feature's anchor point position * ``LabelAnchorPointPosition``: Label's anchor point position * ``OriginX``: X-coordinate of callout origin (label anchor) .. versionadded:: 3.20 * ``OriginY``: Y-coordinate of callout origin (label anchor) .. versionadded:: 3.20 * ``DestinationX``: X-coordinate of callout destination (feature anchor) .. versionadded:: 3.20 * ``DestinationY``: Y-coordinate of callout destination (feature anchor) .. versionadded:: 3.20 * ``Curvature``: Curvature of curved line callouts .. versionadded:: 3.20 * ``Orientation``: Orientation of curved line callouts .. versionadded:: 3.20 * ``Margins``: Margin from text .. versionadded:: 3.20 * ``WedgeWidth``: Balloon callout wedge width .. versionadded:: 3.20 * ``CornerRadius``: Balloon callout corner radius .. versionadded:: 3.20 * ``BlendMode``: Callout blend mode .. versionadded:: 3.20 """ # -- try: QgsCallout.QgsCalloutContext.__attribute_docs__ = {'allFeaturePartsLabeled': '``True`` if all parts of associated feature were labeled', 'originalFeatureCrs': 'Contains the CRS of the original feature associated with this callout.\n\n.. versionadded:: 3.20'} except NameError: pass QgsCallout.propertyDefinitions = staticmethod(QgsCallout.propertyDefinitions) QgsCallout.encodeAnchorPoint = staticmethod(QgsCallout.encodeAnchorPoint) QgsCallout.decodeAnchorPoint = staticmethod(QgsCallout.decodeAnchorPoint) QgsCallout.encodeLabelAnchorPoint = staticmethod(QgsCallout.encodeLabelAnchorPoint) QgsCallout.decodeLabelAnchorPoint = staticmethod(QgsCallout.decodeLabelAnchorPoint) QgsSimpleLineCallout.create = staticmethod(QgsSimpleLineCallout.create) QgsManhattanLineCallout.create = staticmethod(QgsManhattanLineCallout.create) QgsCurvedLineCallout.create = staticmethod(QgsCurvedLineCallout.create) QgsBalloonCallout.create = staticmethod(QgsBalloonCallout.create) try: QgsCallout.__group__ = ['callouts'] except NameError: pass try: QgsCallout.QgsCalloutContext.__group__ = ['callouts'] except NameError: pass try: QgsSimpleLineCallout.__group__ = ['callouts'] except NameError: pass try: QgsManhattanLineCallout.__group__ = ['callouts'] except NameError: pass try: QgsCurvedLineCallout.__group__ = ['callouts'] except NameError: pass try: QgsBalloonCallout.__group__ = ['callouts'] except NameError: pass