Class: QgsManhattanLineCallout

class qgis.core.QgsManhattanLineCallout

Bases: QgsSimpleLineCallout

Draws straight (right angled) lines as callouts.

Methods

clone

rtype

QgsManhattanLineCallout

create

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

draw

param context

type

rtype

str

clone(self) → QgsManhattanLineCallout
Return type

QgsManhattanLineCallout

create(properties: Dict[str, Any] = {}, context: QgsReadWriteContext = QgsReadWriteContext()) → QgsCallout

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

Parameters
Return type

QgsCallout

draw(self, context: QgsRenderContext, bodyBoundingBox: QRectF, angle: float, anchor: QgsGeometry, calloutContext: QgsCallout.QgsCalloutContext)
Parameters
type(self) → str
Return type

str