forked from oblador/react-native-vector-icons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRNVectorIconsManager.h
29 lines (23 loc) · 1004 Bytes
/
RNVectorIconsManager.h
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
27
28
29
//
// RNVectorIconsManager.h
// RNVectorIconsManager
//
// Created by Joel Arvidsson on 2015-05-29.
// Copyright (c) 2015 Joel Arvidsson. All rights reserved.
//
#import <React/RCTBridgeModule.h>
#import <React/RCTLog.h>
FOUNDATION_EXPORT NSString *const RNVIErrorDomain;
enum {
RNVIGenericError = 1000,
};
@interface RNVectorIconsManager : NSObject <RCTBridgeModule>
- (NSString *)hexStringFromColor:(UIColor *)color;
- (NSString *)generateFilePath:(NSString *)glyph withFontName:(NSString *)fontName
withFontSize:(CGFloat)fontSize
withColor:(UIColor *)color
withExtraIdentifier:(NSString *)identifier;
- (BOOL)createAndSaveGlyphImage:(NSString *)glyph withFont:(UIFont *)font
withFilePath:(NSString *)filePath
withColor:(UIColor *)color;
@end