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

#include <format_expression.hpp>

Public Member Functions

 FormatExpressionSection (std::unique_ptr< Expression > content_)
 
void setTextSectionOptions (std::optional< std::unique_ptr< Expression >> fontScale_, std::optional< std::unique_ptr< Expression >> textFont_, std::optional< std::unique_ptr< Expression >> textColor_)
 

Public Attributes

std::shared_ptr< Expressioncontent
 
std::optional< std::shared_ptr< Expression > > fontScale
 
std::optional< std::shared_ptr< Expression > > textFont
 
std::optional< std::shared_ptr< Expression > > textColor
 

Detailed Description

Definition at line 10 of file format_expression.hpp.

Constructor & Destructor Documentation

◆ FormatExpressionSection()

mbgl::style::expression::FormatExpressionSection::FormatExpressionSection ( std::unique_ptr< Expression content_)
explicit

Member Function Documentation

◆ setTextSectionOptions()

void mbgl::style::expression::FormatExpressionSection::setTextSectionOptions ( std::optional< std::unique_ptr< Expression >>  fontScale_,
std::optional< std::unique_ptr< Expression >>  textFont_,
std::optional< std::unique_ptr< Expression >>  textColor_ 
)

Member Data Documentation

◆ content

std::shared_ptr<Expression> mbgl::style::expression::FormatExpressionSection::content

Definition at line 18 of file format_expression.hpp.

◆ fontScale

std::optional<std::shared_ptr<Expression> > mbgl::style::expression::FormatExpressionSection::fontScale

Definition at line 21 of file format_expression.hpp.

◆ textColor

std::optional<std::shared_ptr<Expression> > mbgl::style::expression::FormatExpressionSection::textColor

Definition at line 23 of file format_expression.hpp.

◆ textFont

std::optional<std::shared_ptr<Expression> > mbgl::style::expression::FormatExpressionSection::textFont

Definition at line 22 of file format_expression.hpp.


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