MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::style::expression::FormattedSection Struct Reference

#include <formatted.hpp>

Public Member Functions

 FormattedSection (std::string text_, std::optional< double > fontScale_, std::optional< FontStack > fontStack_, std::optional< Color > textColor_)
 
 FormattedSection (Image image_)
 

Public Attributes

std::string text
 
std::optional< Imageimage
 
std::optional< double > fontScale
 
std::optional< FontStackfontStack
 
std::optional< ColortextColor
 

Detailed Description

Definition at line 20 of file formatted.hpp.

Constructor & Destructor Documentation

◆ FormattedSection() [1/2]

mbgl::style::expression::FormattedSection::FormattedSection ( std::string  text_,
std::optional< double >  fontScale_,
std::optional< FontStack fontStack_,
std::optional< Color textColor_ 
)
inlineexplicit

Definition at line 21 of file formatted.hpp.

◆ FormattedSection() [2/2]

mbgl::style::expression::FormattedSection::FormattedSection ( Image  image_)
inlineexplicit

Definition at line 30 of file formatted.hpp.

Member Data Documentation

◆ fontScale

std::optional<double> mbgl::style::expression::FormattedSection::fontScale

Definition at line 34 of file formatted.hpp.

◆ fontStack

std::optional<FontStack> mbgl::style::expression::FormattedSection::fontStack

Definition at line 35 of file formatted.hpp.

◆ image

std::optional<Image> mbgl::style::expression::FormattedSection::image

Definition at line 33 of file formatted.hpp.

◆ text

std::string mbgl::style::expression::FormattedSection::text

Definition at line 32 of file formatted.hpp.

◆ textColor

std::optional<Color> mbgl::style::expression::FormattedSection::textColor

Definition at line 36 of file formatted.hpp.


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