public class

TrafficStyle

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

Class Overview

All rights Reserved, Designed By lbs.qq.com@Description:

Summary

Public Constructors
TrafficStyle()
Public Methods
TrafficStyle setCongestedColor(int congestedColor)
设置路况拥堵的颜色
TrafficStyle setCongestedStrokeColor(int congestedStrokeColor)
设置路况拥堵的描边颜色
TrafficStyle setSeriousCongestedColor(int seriousCongestedColor)
设置路况极度拥堵的颜色
TrafficStyle setSeriousCongestedStrokeColor(int seriousCongestedStrokeColor)
设置路况极度拥堵的描边颜色
TrafficStyle setSlowColor(int slowColor)
设置路况慢行的颜色
TrafficStyle setSlowStrokeColor(int slowStrokeColor)
设置路况缓行的描边颜色
TrafficStyle setSmoothColor(int smoothColor)
设置路况畅通的颜色
TrafficStyle setSmoothStrokeColor(int smoothStrokeColor)
设置路况畅通描边的颜色
TrafficStyle setStrokeWidth(int strokeWidth)
设置路况描边颜色的宽度
TrafficStyle setWidth(int width)
设置路况填充颜色的宽度
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TrafficStyle ()

Public Methods

public TrafficStyle setCongestedColor (int congestedColor)

设置路况拥堵的颜色

Parameters
congestedColor arbg 颜色值, Color

public TrafficStyle setCongestedStrokeColor (int congestedStrokeColor)

设置路况拥堵的描边颜色

Parameters
congestedStrokeColor arbg 颜色值, Color

public TrafficStyle setSeriousCongestedColor (int seriousCongestedColor)

设置路况极度拥堵的颜色

Parameters
seriousCongestedColor arbg 颜色值, Color

public TrafficStyle setSeriousCongestedStrokeColor (int seriousCongestedStrokeColor)

设置路况极度拥堵的描边颜色

Parameters
seriousCongestedStrokeColor arbg 颜色值, Color

public TrafficStyle setSlowColor (int slowColor)

设置路况慢行的颜色

Parameters
slowColor arbg 颜色值, Color

public TrafficStyle setSlowStrokeColor (int slowStrokeColor)

设置路况缓行的描边颜色

Parameters
slowStrokeColor arbg 颜色值, Color

public TrafficStyle setSmoothColor (int smoothColor)

设置路况畅通的颜色

Parameters
smoothColor arbg 颜色值, Color

public TrafficStyle setSmoothStrokeColor (int smoothStrokeColor)

设置路况畅通描边的颜色

Parameters
smoothStrokeColor arbg 颜色值, Color

public TrafficStyle setStrokeWidth (int strokeWidth)

设置路况描边颜色的宽度

Parameters
strokeWidth 宽度,单位:px(像素)

public TrafficStyle setWidth (int width)

设置路况填充颜色的宽度

Parameters
width 宽度,单位:px(像素)

public String toString ()