Methods
(static) createObj(points) → {Promise.<GeoLine>}
GeoLine 对象构造方法
Parameters:
| Name | Type | Description |
|---|---|---|
points |
Array | 点信息数组,eg: [ {x:1.1,y:1.2} , {x:2.3,y:3.4} ] |
- Source:
Returns:
- Type
- Promise.<GeoLine>