BaiduMap_IOSSDK_v6.6.6_Docs 6.6.6

载入中...
搜索中...
未找到
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
11NS_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
32NS_ASSUME_NONNULL_END
BMKFontOption
BMKFontOption
Definition BMKTextStyle.h:12
BMKFontBold
@ BMKFontBold
Definition BMKTextStyle.h:14
BMKFontNormal
@ BMKFontNormal
Definition BMKTextStyle.h:13
BMKTextStyle
文本样式
Definition BMKTextStyle.h:19
BMKTextStyle::fontOption
BMKFontOption fontOption
字体样式，默认BMKFontNormal
Definition BMKTextStyle.h:22
BMKTextStyle::textColor
UIColor * textColor
文本颜色，默认黑色
Definition BMKTextStyle.h:20
BMKTextStyle::fontSize
int fontSize
字体大小，默认24
Definition BMKTextStyle.h:24
BMKTextStyle::borderColor
UIColor * borderColor
描边颜色，默认白色
Definition BMKTextStyle.h:28
BMKTextStyle::borderWidth
int borderWidth
描边宽度，默认0
Definition BMKTextStyle.h:26