TencentMapSDK_iOS_3D_v6.8.0
载入中...
搜索中...
未找到
QMapView(Snapshot)分类 参考

截图相关API 更多...

#include <QMapView.h>

实例方法

(void) - takeSnapshotInRect:completion:
 异步截图 (默认超时时间为2.5秒)
 
(void) - takeSnapshotInRect:timeout:completion:
 异步截图
 
(void) - takeSnapshotInRect:timeout:afterScreenUpdates:completion:
 异步截图
 

Public 属性

(deprecated("use - (void)takeSnapshotInRect:(CGRect)rect completion:(void (^)(UIImage *resultImage))completion instead")) __attribute__ ()
 截图
 

详细描述

截图相关API

成员函数文档

◆ takeSnapshotInRect:completion:

- (void) takeSnapshotInRect: (CGRect) rect
completion: (void(^)(UIImage *resultImage)) completion 

异步截图 (默认超时时间为2.5秒)

参数
rect范围
completion异步block结果

扩展类 QMapView.

◆ takeSnapshotInRect:timeout:afterScreenUpdates:completion:

- (void) takeSnapshotInRect: (CGRect) rect
timeout: (CFTimeInterval) timeout
afterScreenUpdates: (BOOL) afterUpdates
completion: (void(^)(UIImage *resultImage)) completion 

异步截图

参数
rect范围
timeout超时时间.
afterUpdates是否等待当前内容更新完.
completion异步block结果

扩展类 QMapView.

◆ takeSnapshotInRect:timeout:completion:

- (void) takeSnapshotInRect: (CGRect) rect
timeout: (CFTimeInterval) timeout
completion: (void(^)(UIImage *resultImage)) completion 

异步截图

参数
rect范围
timeout超时时间.
completion异步block结果

扩展类 QMapView.

类成员变量说明

◆ __attribute__

- ((deprecated("use - (void))takeSnapshotInRect:

截图

返回
截图image

扩展类 QMapView.


该分类的文档由以下文件生成: