// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once #include #include #include namespace mbgl { namespace style { struct SymbolPlacement : LayoutProperty { static SymbolPlacementType defaultValue() { return SymbolPlacementType::Point; } }; struct SymbolSpacing : LayoutProperty { static float defaultValue() { return 250; } }; struct SymbolAvoidEdges : LayoutProperty { static bool defaultValue() { return false; } }; struct IconAllowOverlap : LayoutProperty { static bool defaultValue() { return false; } }; struct IconIgnorePlacement : LayoutProperty { static bool defaultValue() { return false; } }; struct IconOptional : LayoutProperty { static bool defaultValue() { return false; } }; struct IconRotationAlignment : LayoutProperty { static AlignmentType defaultValue() { return AlignmentType::Auto; } }; struct IconSize : LayoutProperty { static float defaultValue() { return 1; } }; struct IconTextFit : LayoutProperty { static IconTextFitType defaultValue() { return IconTextFitType::None; } }; struct IconTextFitPadding : LayoutProperty> { static std::array defaultValue() { return {{ 0, 0, 0, 0 }}; } }; struct IconImage : LayoutProperty { static std::string defaultValue() { return ""; } }; struct IconRotate : LayoutProperty { static float defaultValue() { return 0; } }; struct IconPadding : LayoutProperty { static float defaultValue() { return 2; } }; struct IconKeepUpright : LayoutProperty { static bool defaultValue() { return false; } }; struct IconOffset : LayoutProperty> { static std::array defaultValue() { return {{ 0, 0 }}; } }; struct TextPitchAlignment : LayoutProperty { static AlignmentType defaultValue() { return AlignmentType::Auto; } }; struct TextRotationAlignment : LayoutProperty { static AlignmentType defaultValue() { return AlignmentType::Auto; } }; struct TextField : LayoutProperty { static std::string defaultValue() { return ""; } }; struct TextFont : LayoutProperty> { static std::vector defaultValue() { return { "Open Sans Regular", "Arial Unicode MS Regular" }; } }; struct TextSize : LayoutProperty { static float defaultValue() { return 16; } }; struct TextMaxWidth : LayoutProperty { static float defaultValue() { return 10; } }; struct TextLineHeight : LayoutProperty { static float defaultValue() { return 1.2; } }; struct TextLetterSpacing : LayoutProperty { static float defaultValue() { return 0; } }; struct TextJustify : LayoutProperty { static TextJustifyType defaultValue() { return TextJustifyType::Center; } }; struct TextAnchor : LayoutProperty { static TextAnchorType defaultValue() { return TextAnchorType::Center; } }; struct TextMaxAngle : LayoutProperty { static float defaultValue() { return 45; } }; struct TextRotate : LayoutProperty { static float defaultValue() { return 0; } }; struct TextPadding : LayoutProperty { static float defaultValue() { return 2; } }; struct TextKeepUpright : LayoutProperty { static bool defaultValue() { return true; } }; struct TextTransform : LayoutProperty { static TextTransformType defaultValue() { return TextTransformType::None; } }; struct TextOffset : LayoutProperty> { static std::array defaultValue() { return {{ 0, 0 }}; } }; struct TextAllowOverlap : LayoutProperty { static bool defaultValue() { return false; } }; struct TextIgnorePlacement : LayoutProperty { static bool defaultValue() { return false; } }; struct TextOptional : LayoutProperty { static bool defaultValue() { return false; } }; struct IconOpacity : PaintProperty { static float defaultValue() { return 1; } }; struct IconColor : PaintProperty { static Color defaultValue() { return Color::black(); } }; struct IconHaloColor : PaintProperty { static Color defaultValue() { return {}; } }; struct IconHaloWidth : PaintProperty { static float defaultValue() { return 0; } }; struct IconHaloBlur : PaintProperty { static float defaultValue() { return 0; } }; struct IconTranslate : PaintProperty> { static std::array defaultValue() { return {{ 0, 0 }}; } }; struct IconTranslateAnchor : PaintProperty { static TranslateAnchorType defaultValue() { return TranslateAnchorType::Map; } }; struct TextOpacity : PaintProperty { static float defaultValue() { return 1; } }; struct TextColor : PaintProperty { static Color defaultValue() { return Color::black(); } }; struct TextHaloColor : PaintProperty { static Color defaultValue() { return {}; } }; struct TextHaloWidth : PaintProperty { static float defaultValue() { return 0; } }; struct TextHaloBlur : PaintProperty { static float defaultValue() { return 0; } }; struct TextTranslate : PaintProperty> { static std::array defaultValue() { return {{ 0, 0 }}; } }; struct TextTranslateAnchor : PaintProperty { static TranslateAnchorType defaultValue() { return TranslateAnchorType::Map; } }; class SymbolLayoutProperties : public LayoutProperties< SymbolPlacement, SymbolSpacing, SymbolAvoidEdges, IconAllowOverlap, IconIgnorePlacement, IconOptional, IconRotationAlignment, IconSize, IconTextFit, IconTextFitPadding, IconImage, IconRotate, IconPadding, IconKeepUpright, IconOffset, TextPitchAlignment, TextRotationAlignment, TextField, TextFont, TextSize, TextMaxWidth, TextLineHeight, TextLetterSpacing, TextJustify, TextAnchor, TextMaxAngle, TextRotate, TextPadding, TextKeepUpright, TextTransform, TextOffset, TextAllowOverlap, TextIgnorePlacement, TextOptional > {}; class SymbolPaintProperties : public PaintProperties< IconOpacity, IconColor, IconHaloColor, IconHaloWidth, IconHaloBlur, IconTranslate, IconTranslateAnchor, TextOpacity, TextColor, TextHaloColor, TextHaloWidth, TextHaloBlur, TextTranslate, TextTranslateAnchor > {}; } // namespace style } // namespace mbgl