Loading...
Searching...
No Matches
NCTitleStyle.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCTitleAnchor.h"
3#import <Foundation/Foundation.h>
4#import <UIKit/UIKit.h>
5
19DEFAULT_EXPORT_ATTRIBUTE
20@interface NCTitleStyle : NSObject
21
25- (nonnull instancetype)initWithFontSize:(float)fontSize
26 color:(nonnull UIColor *)color
27 outlineColor:(nonnull UIColor *)outlineColor
28 outlineWidth:(float)outlineWidth
29 anchor:(NCTitleAnchor)anchor
30 visible:(BOOL)visible;
31
35+ (nonnull instancetype)titleStyleWithFontSize:(float)fontSize
36 color:(nonnull UIColor *)color
37 outlineColor:(nonnull UIColor *)outlineColor
38 outlineWidth:(float)outlineWidth
39 anchor:(NCTitleAnchor)anchor
40 visible:(BOOL)visible;
41
45- (nonnull instancetype)init;
46
50+ (nonnull instancetype)titleStyle;
51
64@property (nonatomic, readonly) float fontSize;
65
69@property (nonatomic, readonly, nonnull) UIColor * color;
70
74@property (nonatomic, readonly, nonnull) UIColor * outlineColor;
75
79@property (nonatomic, readonly) float outlineWidth;
80
84@property (nonatomic, readonly) NCTitleAnchor anchor;
85
89@property (nonatomic, readonly) BOOL visible;
90
91@end