// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once #include #include #include namespace mbgl { class StyleCascadeParameters; class StyleCalculationParameters; class SymbolLayoutProperties { public: void parse(const JSValue&); void recalculate(const StyleCalculationParameters&); LayoutProperty symbolPlacement { SymbolPlacementType::Point }; LayoutProperty symbolSpacing { 250 }; LayoutProperty symbolAvoidEdges { false }; LayoutProperty iconAllowOverlap { false }; LayoutProperty iconIgnorePlacement { false }; LayoutProperty iconOptional { false }; LayoutProperty iconRotationAlignment { RotationAlignmentType::Viewport }; LayoutProperty iconSize { 1 }; LayoutProperty iconImage { "" }; LayoutProperty iconRotate { 0 }; LayoutProperty iconPadding { 2 }; LayoutProperty iconKeepUpright { false }; LayoutProperty> iconOffset { {{ 0, 0 }} }; LayoutProperty textRotationAlignment { RotationAlignmentType::Viewport }; LayoutProperty textField { "" }; LayoutProperty> textFont { { "Open Sans Regular", "Arial Unicode MS Regular" } }; LayoutProperty textSize { 16 }; LayoutProperty textMaxWidth { 10 }; LayoutProperty textLineHeight { 1.2 }; LayoutProperty textLetterSpacing { 0 }; LayoutProperty textJustify { TextJustifyType::Center }; LayoutProperty textAnchor { TextAnchorType::Center }; LayoutProperty textMaxAngle { 45 }; LayoutProperty textRotate { 0 }; LayoutProperty textPadding { 2 }; LayoutProperty textKeepUpright { true }; LayoutProperty textTransform { TextTransformType::None }; LayoutProperty> textOffset { {{ 0, 0 }} }; LayoutProperty textAllowOverlap { false }; LayoutProperty textIgnorePlacement { false }; LayoutProperty textOptional { false }; }; class SymbolPaintProperties { public: void parse(const JSValue&); void cascade(const StyleCascadeParameters&); bool recalculate(const StyleCalculationParameters&); PaintProperty iconOpacity { 1 }; PaintProperty iconColor { {{ 0, 0, 0, 1 }} }; PaintProperty iconHaloColor { {{ 0, 0, 0, 0 }} }; PaintProperty iconHaloWidth { 0 }; PaintProperty iconHaloBlur { 0 }; PaintProperty> iconTranslate { {{ 0, 0 }} }; PaintProperty iconTranslateAnchor { TranslateAnchorType::Map }; PaintProperty textOpacity { 1 }; PaintProperty textColor { {{ 0, 0, 0, 1 }} }; PaintProperty textHaloColor { {{ 0, 0, 0, 0 }} }; PaintProperty textHaloWidth { 0 }; PaintProperty textHaloBlur { 0 }; PaintProperty> textTranslate { {{ 0, 0 }} }; PaintProperty textTranslateAnchor { TranslateAnchorType::Map }; }; } // namespace mbgl