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