Blame view

components/vue-baidu-map/types/curve-line.d.ts 625 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
  import { Point } from './base/common'
  
  export declare class CurveLine {
    /**
     * 构成弧线的关键点
     */
    points: 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
  }