Extends
Methods
# addTo(layer) → {Graphic}
将实体加入图层
Parameters:
| Name | Type | Description |
|---|---|---|
layer |
Layer
|
图层 |
- Overrides:
- See:
this - 当前实体对象
# static fromEntity(entity) → {PointEntity}
从实体对象转化为自定义对象
Parameters:
| Name | Type | Description |
|---|---|---|
entity |
Object
|
其他对象实体 |
- 自定义实体