szgeoinfo.style.Stroke

Class: szgeoinfo.style.Stroke


new Stroke(color, width, lineDash)

边框对象

Parameters:
Name Type Description
color string

边框颜色,默认:#FFFFFF

width number

边框宽度,默认:2

lineDash array

虚线数组,不设置为实线 ,设置样式 [4 6 5 7] 4单位的实线,6个空格 5单位实线 7 单位空格,数组格式为偶数

Example
var stroke=new szgeoinfo.style.Stroke("rgba(253,206,4,1)",1);