--- title: 路径图 order: 1 --- 用一组首尾不闭合的点坐标对来定位的线图层,通常用来表示轨迹,线路,道路等 ## 使用 ### shape shape 设置成line即可绘制路线图 - line ### size 路径图线的size支持两个维度 - width 宽度 - height 高度 ```javascript layer.size([2,10]) // 绘制宽度为2,高度为10的路径 layer.size('',[]) ``` ### animate