summaryrefslogtreecommitdiff
path: root/platform/darwin/src/NSValue+MGLStyleAttributeAdditions.h
blob: 60c1ee4075b0e4066224becae5072a463c90df61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#import <Foundation/Foundation.h>

#include <array>

@interface NSValue (MGLStyleAttributeAdditions)

+ (instancetype)mgl_valueWithOffsetArray:(std::array<float, 2>)offsetArray;
+ (instancetype)mgl_valueWithPaddingArray:(std::array<float, 4>)paddingArray;

- (std::array<float, 2>)mgl_offsetArrayValue;
- (std::array<float, 4>)mgl_paddingArrayValue;

@end