Map Doc  1.0
iOS-引擎SDK-开放平台
MBCustomIconData类 参考

#import <MBAnnotation.h>

类 MBCustomIconData 继承关系图:

构造函数

(instancetype) - initWithBitmap:width:height:
 
(void *) - getHandle
 

属性

CGPoint pivot
 

详细描述

解压后的图片数据

函数文档

◆ getHandle()

- (void *) getHandle

◆ initWithBitmap:width:height:()

- (instancetype) initWithBitmap: (UInt32 *)  pixels
width: (NSInteger)  width
height: (NSInteger)  heigh 

初始化MBCustomIconData 备注:MBCustomIconData将接管内存空间:pixels,即MBCustomIconData释放时,将free(pixels)。

参数
pixelsRGBA像素数据
widthbitmap宽度
heighbitmap高度
返回
MBCustomIconData

属性说明

◆ pivot

- (CGPoint) pivot
readwritenonatomicassign

相对位置


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