geom_arc#

创建一条弧线#

图块代码

../../_images/geom_arc.png

javascript

jih_doc.geom_arc(x, y, z, radius, startAngle, engAngle, color, axis_dir, true)

python

jih_doc.geom_arc(x, y, z, radius, startAngle, engAngle, color, axis_dir, True)

npl

jih_doc:geom_arc(x, y, z, radius, startAngle, engAngle, color, axis_dir, true)

参数#

参数

类型

默认值

说明

x

number

0

y

number

0

z

number

0

radius

number

1

startAngle

number

0

engAngle

number

90

color

string

“#ffc658”

axis_dir

string

“‘z’”

示例#

jih_doc.geom_arc(0, 0, 0, 1, 0, 90, "#ffc658", 'z', true)
jih_doc.geom_arc(0, 0, 0, 1, 0, 90, "#ffc658", 'z', True)
jih_doc:geom_arc(0, 0, 0, 1, 0, 90, "#ffc658", 'z', true)