summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyleAttributeFunction.h
blob: dbef3115482396758b924851d101c882e4ab1371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#import <Foundation/Foundation.h>

#import "MGLTypes.h"
#import "MGLStyleAttributeValue.h"

typedef NS_ENUM(NSUInteger, MGLStyleAttributeFunctionType) {
    MGLStyleAttributeFunctionTypeExponential,
    MGLStyleAttributeFunctionTypeInterval,
    MGLStyleAttributeFunctionTypeCategorical
};

NS_ASSUME_NONNULL_BEGIN

@interface MGLStyleAttributeFunction : NSObject <MGLStyleAttributeValue>

@property (nonatomic, copy) NSDictionary<NSNumber *, id> *stops;

@property (nonatomic, copy, nullable) NSString *property;

@property (nonatomic, copy, nullable) NSNumber *base;

@property (nonatomic, copy, nullable) NSNumber *functionType;

@end

NS_ASSUME_NONNULL_END