Class: QgsManhattanLineCallout

Draws straight (right angled) lines as callouts.

Added in version 3.10.

Class Hierarchy

Inheritance diagram of qgis.core.QgsManhattanLineCallout

Base classes

QgsSimpleLineCallout

A simple direct line callout style.

QgsCallout

Abstract base class for callout renderers.

Static Methods

create

Creates a new QgsManhattanLineCallout, using the settings serialized in the properties map (corresponding to the output from QgsManhattanLineCallout.properties() ).

class qgis.core.QgsManhattanLineCallout[source]

Bases: QgsSimpleLineCallout

static create(properties: Dict[str, Any] = {}, context: QgsReadWriteContext = QgsReadWriteContext()) QgsCallout | None[source]

Creates a new QgsManhattanLineCallout, using the settings serialized in the properties map (corresponding to the output from QgsManhattanLineCallout.properties() ).

Parameters:
Return type:

Optional[QgsCallout]