Extends
Methods
# addTo(layer) → {Graphic}
将实体加入图层
Parameters:
| Name | Type | Description |
|---|---|---|
layer |
Layer
|
图层 |
- Overrides:
- See:
this - 当前实体对象
Class
将实体加入图层
| Name | Type | Description |
|---|---|---|
layer |
Layer
|
图层 |
this - 当前实体对象