FMKTextLayer Class Reference
Inherits from | FMKLayer : NSObject |
---|---|
Declared in | FMKTextLayer.h FMKTextLayer.mm |
Other Methods
– initWithGroupID:
初始化文本图层(在同一楼层下可创建多个文本图层)
- (instancetype)initWithGroupID:(NSString *)groupID
Parameters
groupID |
文本图层所在楼层 |
---|
Return Value
文本图层
Discussion
初始化文本图层(在同一楼层下可创建多个文本图层)
Declared In
FMKTextLayer.h
– setPointer:
内部关联指针 不可修改
- (void)setPointer:(long)pointer
Discussion
内部关联指针 不可修改
Declared In
FMKLayer.m
– textMarkerWithTag:
通过tag获取文本标注物
- (FMKTextMarker *)textMarkerWithTag:(NSInteger)tag
Parameters
tag |
文本标注物的tag,文本标注物的唯一标识 |
---|
Return Value
对应tag的文本标注物
Discussion
通过tag获取文本标注物
Declared In
FMKTextLayer.h
– addMarker:
添加文本标注物
- (void)addMarker:(FMKTextMarker *)textMarker
Parameters
textMarker |
文本标注物 |
---|
Discussion
添加文本标注物
Declared In
FMKTextLayer.h
– removeMarker:
删除文本标注物
- (void)removeMarker:(FMKTextMarker *)textMarker
Parameters
textMarker |
文本标注物 |
---|
Discussion
删除文本标注物
Declared In
FMKTextLayer.h
Other Methods
groupID
文本图层所在楼层ID
@property (nonatomic, readonly) NSString *groupID
Discussion
文本图层所在楼层ID
Declared In
FMKTextLayer.h