blob: 60cfe1c58b2b9e4a83057275fea303d2baacff4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#import <UIKit/UIKit.h>
#include <mbgl/util/color.hpp>
#include <mbgl/style/property_value.hpp>
@interface UIColor (MGLAdditions)
- (mbgl::Color)mgl_color;
- (mbgl::style::PropertyValue<mbgl::Color>)mgl_colorPropertyValue;
+ (UIColor *)mgl_colorWithColor:(mbgl::Color)color;
@end
@interface NSExpression (MGLColorAdditions)
+ (NSExpression *)mgl_expressionForRGBComponents:(NSArray<NSExpression *> *)components;
+ (NSExpression *)mgl_expressionForRGBAComponents:(NSArray<NSExpression *> *)components;
@end
|