BaiduMap_IOSSDK_v6.6.5_Docs 6.6.5
载入中...
搜索中...
未找到
BMKTextPathMarker.h
浏览该文件的文档.
1//
2// BMKTextPathMarker.h
3// MapComponent
4//
5// Created by zhaoxiangru on 2024/3/11.
6// Copyright © 2024 Baidu. All rights reserved.
7//
8
9#import "BMKShape.h"
10#import "BMKOverlay.h"
11//#import "BMKRichView.h"
12//#import "BMKBaseUIView.h"
13#import "BMKMapAnimation.h"
14#import "BMKCommonDef.h"
15#import "BMKTextStyle.h"
16NS_ASSUME_NONNULL_BEGIN
17
19{
20@package
21 BMKMapRect _boundingMapRect;
23@property (nonatomic, strong) NSString *text;
24@property (nonatomic, strong) BMKTextStyle *style;
30+ (nullable instancetype)textPathMarkerWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
31
36+ (nullable instancetype)textPathMarkerWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
37
42- (BOOL)setTextPathMarkerWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
43
48- (BOOL)setTextPathMarkerWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
49@end
50
51NS_ASSUME_NONNULL_END
该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
Definition BMKMultiPoint.h:18
Definition BMKTextPathMarker.h:20
BMKTextStyle * style
Definition BMKTextPathMarker.h:25
NSString * text
Definition BMKTextPathMarker.h:24
文本样式
Definition BMKTextStyle.h:19
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition BMKOverlay.h:17
地理坐标点,用直角地理坐标表示
Definition BMKTypes.h:222