public class PolylineShape extends TKShape
Constructor and Description |
---|
PolylineShape(java.util.List<Latlon> latlons,
java.lang.String shapeName)
给定一组经纬度,按照所给次序依次连成多条线段
若latlons的长度可为0,返回null
|
Modifier and Type | Method and Description |
---|---|
void |
setFillColor(int color)
设置线段颜色,默认为蓝色
|
void |
setStrokeSize(int size)
设置线段宽度,默认为6
|
public PolylineShape(java.util.List<Latlon> latlons, java.lang.String shapeName)
latlons
- shapeName
-