QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Public Member Functions | List of all members
QgsQuickHighlightSGNode Class Reference

This is used to transform (render) QgsGeometry to node for QtQuick scene graph. More...

#include <qgsquickhighlightsgnode.h>

Inheritance diagram for QgsQuickHighlightSGNode:
Inheritance graph
[legend]

Public Member Functions

 QgsQuickHighlightSGNode (const QgsGeometry &geom, const QColor &color, float width)
 Constructor of new QT Quick scene node based on geometry. More...
 
 ~QgsQuickHighlightSGNode ()=default
 Destructor. More...
 

Detailed Description

This is used to transform (render) QgsGeometry to node for QtQuick scene graph.

Note
QML Type: not exported
Since
QGIS 3.4

Definition at line 38 of file qgsquickhighlightsgnode.h.

Constructor & Destructor Documentation

◆ QgsQuickHighlightSGNode()

QgsQuickHighlightSGNode::QgsQuickHighlightSGNode ( const QgsGeometry geom,
const QColor &  color,
float  width 
)

Constructor of new QT Quick scene node based on geometry.

Parameters
geomGeometry to render in the map coordinates
colorcolor used to render geom
widthwidth of pen, see QSGGeometry::setLineWidth()

Definition at line 25 of file qgsquickhighlightsgnode.cpp.

◆ ~QgsQuickHighlightSGNode()

QgsQuickHighlightSGNode::~QgsQuickHighlightSGNode ( )
default

Destructor.


The documentation for this class was generated from the following files: