cylinder#

创建一个圆柱体#

图块代码

../../_images/cylinder.png

javascript

jih_doc.cylinder(op, radius, height, color)

python

jih_doc.cylinder(op, radius, height, color)

npl

jih_doc:cylinder(op, radius, height, color)

参数#

参数

类型

默认值

说明

op

string

“union”

radius

number

1

height

number

10

color

string

“#ffc658”

示例#

jih_doc.cylinder("union", 1, 10, "#ffc658")
jih_doc.cylinder("union", 1, 10, "#ffc658")
jih_doc:cylinder("union", 1, 10, "#ffc658")