summaryrefslogtreecommitdiff
path: root/platform/ios/src/UIColor+MGLAdditions.hpp
blob: 7cc291c657500713beb183ac3bfaee8ee0a6d005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#import <UIKit/UIKit.h>

#include <mbgl/util/color.hpp>
#include <mbgl/style/property_value.hpp>

@interface UIColor (MGLAdditions)

- (mbgl::Color)mbgl_color;

- (mbgl::style::PropertyValue<mbgl::Color>)mbgl_colorPropertyValue;

+ (UIColor *)mbgl_colorWithColor:(mbgl::Color)color;

@end