public static final class

PolylineOptions.SegmentText

extends Object
java.lang.Object
   ↳ com.tencent.tencentmap.mapsdk.maps.model.PolylineOptions.SegmentText

Class Overview

分段展示的文字对象

Summary

Public Constructors
SegmentText(int startIndex, int endIndex, String text)
构造文字展示段
Public Methods
int getEndIndex()
获取文字停止展示的点串索引
int getStartIndex()
获取文字开始展示的点串索引
String getText()
获取展示文字
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SegmentText (int startIndex, int endIndex, String text)

构造文字展示段

Parameters
startIndex 文字开始展示的点串索引
endIndex 文字停止展示的点串索引
text 要展示的文字内容

Public Methods

public int getEndIndex ()

获取文字停止展示的点串索引

public int getStartIndex ()

获取文字开始展示的点串索引

public String getText ()

获取展示文字