QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | List of all members
QgsQuickHighlightSGNode Class Reference

#include <qgsquickhighlightsgnode.h>

Inheritance diagram for QgsQuickHighlightSGNode:
Inheritance graph

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.

QML Type: not exported
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.

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 ( )


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