QGIS API Documentation  3.8.0-Zanzibar (11aff65)
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: