MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::LineAnnotation Class Reference

#include <annotation.hpp>

Public Member Functions

 LineAnnotation (ShapeAnnotationGeometry geometry_, style::PropertyValue< float > opacity_=1.0f, style::PropertyValue< float > width_=1.0f, style::PropertyValue< Color > color_=Color::black())
 

Public Attributes

ShapeAnnotationGeometry geometry
 
style::PropertyValue< float > opacity
 
style::PropertyValue< float > width
 
style::PropertyValue< Colorcolor
 

Detailed Description

Definition at line 31 of file annotation.hpp.

Constructor & Destructor Documentation

◆ LineAnnotation()

mbgl::LineAnnotation::LineAnnotation ( ShapeAnnotationGeometry  geometry_,
style::PropertyValue< float >  opacity_ = 1.0f,
style::PropertyValue< float >  width_ = 1.0f,
style::PropertyValue< Color color_ = Color::black() 
)
inline

Definition at line 33 of file annotation.hpp.

Member Data Documentation

◆ color

style::PropertyValue<Color> mbgl::LineAnnotation::color

Definition at line 45 of file annotation.hpp.

◆ geometry

ShapeAnnotationGeometry mbgl::LineAnnotation::geometry

Definition at line 42 of file annotation.hpp.

◆ opacity

style::PropertyValue<float> mbgl::LineAnnotation::opacity

Definition at line 43 of file annotation.hpp.

◆ width

style::PropertyValue<float> mbgl::LineAnnotation::width

Definition at line 44 of file annotation.hpp.


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