| java.lang.Object | |
| ↳ | com.tencent.tencentmap.mapsdk.maps.model.PolylineOptions.Text |
polyline 上展示的文字对象
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| class | PolylineOptions.Text.Builder | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PolylineOptions.TextPriority |
getPriority()
获取展示文字的优先级
| ||||||||||
| List<PolylineOptions.SegmentText> |
getSegmentTexts()
获取分段展示的文字对象列表
| ||||||||||
| int |
getStrokeColor()
获取文字描边颜色,int 表示的 ARGB 32 位颜色
| ||||||||||
| int |
getTextColor()
获取文字颜色,int 表示的 ARGB 32 位颜色
| ||||||||||
| int |
getTextSize()
文字大小
| ||||||||||
| void |
setPriority(PolylineOptions.TextPriority priority)
设置文字展示的优先级
| ||||||||||
| void |
setStrokeColor(int strokeColor)
设置文字描边颜色,int 表示的 ARGB 32 位颜色
| ||||||||||
| void |
setTextColor(int textColor)
设置文字颜色,int 表示的 ARGB 32 位颜色
| ||||||||||
| void |
setTextSize(int textSize)
设置文字大小
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
获取文字描边颜色,int 表示的 ARGB 32 位颜色
获取文字颜色,int 表示的 ARGB 32 位颜色
文字大小
设置文字描边颜色,int 表示的 ARGB 32 位颜色
| strokeColor | int 表示的 ARGB 32 位颜色 |
|---|
设置文字颜色,int 表示的 ARGB 32 位颜色
| textColor | int 表示的 ARGB 32 位颜色 |
|---|
设置文字大小