BaiduMap_IOSSDK_v6.6.7_Docs 6.6.7

BMKTextStyle.h
浏览该文件的文档.
1 //
2 // BMKTextStyle.h
3 // MapComponent
4 //
5 // Created by zhaoxiangru on 2024/3/12.
6 // Copyright © 2024 Baidu. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
11 NS_ASSUME_NONNULL_BEGIN
12 typedef enum : NSUInteger {
13 BMKFontNormal,
14 BMKFontBold,
15 } BMKFontOption;
16
18 @interface BMKTextStyle : NSObject
20 @property(nonatomic, strong) UIColor *textColor;
22 @property(nonatomic, assign) BMKFontOption fontOption;
24 @property(nonatomic, assign) int fontSize;
26 @property(nonatomic, assign) int borderWidth;
28 @property(nonatomic, strong) UIColor *borderColor;
29
30 @end
31
32 NS_ASSUME_NONNULL_END
BMKFontNormal
@ BMKFontNormal
Definition: BMKTextStyle.h:13
BMKTextStyle::borderColor
UIColor * borderColor
描边颜色，默认白色
Definition: BMKTextStyle.h:28
BMKTextStyle::textColor
UIColor * textColor
文本颜色，默认黑色
Definition: BMKTextStyle.h:20
BMKTextStyle
文本样式
Definition: BMKTextStyle.h:19
BMKTextStyle::fontOption
BMKFontOption fontOption
字体样式，默认BMKFontNormal
Definition: BMKTextStyle.h:22
BMKTextStyle::fontSize
int fontSize
字体大小，默认24
Definition: BMKTextStyle.h:24
BMKFontBold
@ BMKFontBold
Definition: BMKTextStyle.h:14
BMKFontOption
BMKFontOption
Definition: BMKTextStyle.h:12
BMKTextStyle::borderWidth
int borderWidth
描边宽度，默认0
Definition: BMKTextStyle.h:26