TencentMapSDK_iOS_3D_v4.3.4
QSegmentStyle类 参考

QTexturePolylineView中各个子线段的样式定义 更多...

#import <QTexturePolylineView.h>

类 QSegmentStyle 继承关系图:

属性

int startIndex
 本线段的起始坐标点在坐标点串(QPolyline.points)的下标. 从0开始
 
int endIndex
 本线段的终点坐标点在坐标点串(QPolyline.points)的下标
 
int colorImageIndex
 本线段显示的颜色下标。代表styleTextureImage图片或默认图片的所采用的行(1像素为单位) 更多...
 

详细描述

QTexturePolylineView中各个子线段的样式定义

属性说明

◆ colorImageIndex

- (int) colorImageIndex
readwritenonatomicassign

本线段显示的颜色下标。代表styleTextureImage图片或默认图片的所采用的行(1像素为单位)

@notes 默认颜色:

色值 颜色
0 灰色
1 深蓝
2 红色
3 黄色
4 绿色
5 淡蓝
6 中蓝
7 透明色
8 灰蓝
9 猪肝红

如果是自定义styleTextureImage则色值代表的颜色与图片相关


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