Blame view

components/vue-baidu-map/types/polyline.d.ts 630 Bytes
290144e9   易尊强   第一次
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  import { Point } from './base/common'
  
  export declare class Polyline {
    /**
     * 设置折线的点数组
     * @default []
     */
    path: Point[]
    /**
     * 设置线颜色,参数为合法的CSS颜色值
     */
    strokeColor: string
    /**
     * 设置线的宽度,取值为大于等于1的整数
     */
    strokeWeight: number
    /**
     * 设置线透明度,取值范围0 - 1
     */
    strokeOpacity: number
    /**
     * @default 'solid'
     */
    strokeStyle: 'solid' | 'dashed'
    /**
     * @default true
     */
    massClear: boolean
    /**
     * @default true
     */
    clicking: boolean
    /**
     * @default false
     */
    editing: boolean
  }