From 63cce78cf1597ba5879227f2298bda52e91e4e04 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 23 Aug 2016 12:49:47 -0700 Subject: [core] Add static getters for property default values (#6124) --- include/mbgl/style/layers/line_layer.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include/mbgl/style/layers/line_layer.hpp') diff --git a/include/mbgl/style/layers/line_layer.hpp b/include/mbgl/style/layers/line_layer.hpp index abcb425b96..8549ad0a6c 100644 --- a/include/mbgl/style/layers/line_layer.hpp +++ b/include/mbgl/style/layers/line_layer.hpp @@ -28,47 +28,61 @@ public: // Layout properties + static PropertyValue getDefaultLineCap(); PropertyValue getLineCap() const; void setLineCap(PropertyValue); + static PropertyValue getDefaultLineJoin(); PropertyValue getLineJoin() const; void setLineJoin(PropertyValue); + static PropertyValue getDefaultLineMiterLimit(); PropertyValue getLineMiterLimit() const; void setLineMiterLimit(PropertyValue); + static PropertyValue getDefaultLineRoundLimit(); PropertyValue getLineRoundLimit() const; void setLineRoundLimit(PropertyValue); // Paint properties + static PropertyValue getDefaultLineOpacity(); PropertyValue getLineOpacity() const; void setLineOpacity(PropertyValue, const optional& klass = {}); + static PropertyValue getDefaultLineColor(); PropertyValue getLineColor() const; void setLineColor(PropertyValue, const optional& klass = {}); + static PropertyValue> getDefaultLineTranslate(); PropertyValue> getLineTranslate() const; void setLineTranslate(PropertyValue>, const optional& klass = {}); + static PropertyValue getDefaultLineTranslateAnchor(); PropertyValue getLineTranslateAnchor() const; void setLineTranslateAnchor(PropertyValue, const optional& klass = {}); + static PropertyValue getDefaultLineWidth(); PropertyValue getLineWidth() const; void setLineWidth(PropertyValue, const optional& klass = {}); + static PropertyValue getDefaultLineGapWidth(); PropertyValue getLineGapWidth() const; void setLineGapWidth(PropertyValue, const optional& klass = {}); + static PropertyValue getDefaultLineOffset(); PropertyValue getLineOffset() const; void setLineOffset(PropertyValue, const optional& klass = {}); + static PropertyValue getDefaultLineBlur(); PropertyValue getLineBlur() const; void setLineBlur(PropertyValue, const optional& klass = {}); + static PropertyValue> getDefaultLineDasharray(); PropertyValue> getLineDasharray() const; void setLineDasharray(PropertyValue>, const optional& klass = {}); + static PropertyValue getDefaultLinePattern(); PropertyValue getLinePattern() const; void setLinePattern(PropertyValue, const optional& klass = {}); -- cgit v1.2.1