CylinderEntity(position, length, topRadius, bottomRadius)
Constructor
#
new CylinderEntity(position, length, topRadius, bottomRadius)
Parameters:
| Name |
Type |
Description |
position |
Position
|
任意类型的坐标 |
length |
number
|
圆柱高度 |
topRadius |
number
|
上部半径 |
bottomRadius |
number
|
底部半径 |
- Author:
-
Extends
Members
number
#
readonly
bottomRadius
number
#
readonly
length
number
#
readonly
topRadius
string
#
readonly
type
Methods
#
addTo(layer) → {Graphic}
Parameters:
| Name |
Type |
Description |
layer |
Layer
|
图层 |
- Overrides:
- See:
-