MapLibre Native for Qt
Loading...
Searching...
No Matches
QMapLibre::LineAnnotation Struct Reference

Line annotation helper type. More...

#include <QMapLibre/Types>

Public Member Functions

 LineAnnotation (ShapeAnnotationGeometry geometry_=ShapeAnnotationGeometry(), float opacity_=1.0f, float width_=1.0f, const QColor &color_=Qt::black)
 

Public Attributes

ShapeAnnotationGeometry geometry
 annotation geometry
 
float opacity
 annotation opacity
 
float width
 annotation width
 
QColor color
 annotation color
 

Detailed Description

Line annotation helper type.

Represents a line annotation object, along with its properties.

A line annotation comprises of its geometry and line properties such as opacity, width and color.

Constructor & Destructor Documentation

◆ LineAnnotation()

QMapLibre::LineAnnotation::LineAnnotation ( ShapeAnnotationGeometry geometry_ = ShapeAnnotationGeometry(),
float opacity_ = 1.0f,
float width_ = 1.0f,
const QColor & color_ = Qt::black )
inlineexplicit

Class constructor.