Fx构造函数
# new PathSymbol3DLayer(typeopt, anchoropt, capopt, castShadowsopt, heightopt, joinopt, materialopt, profileopt, profileRotationopt, widthopt)
三维线图层
参数:
名称 | 类型 | 属性 | 默认值 | 描述 |
---|---|---|---|---|
type |
String |
<optional> |
类型,只能是'path' |
|
anchor |
Anchor |
<optional> |
'center' | 锚点,可选值"center"|"bottom"|"top" |
cap |
Cap |
<optional> |
'butt' | 线头类型,默认为平头butt, 可选"butt" 平头 |"round" 圆头 |"square" 方头|"none" 无 |
castShadows |
Object |
<optional> |
true | 阴影,默认激活 |
height |
Number |
<optional> |
高度 |
|
join |
Join |
<optional> |
'miter' | 拐角类型,可选"miter" 尖角 |"round" 圆角 |"bevel" 平角 |
material |
Object |
<optional> |
材质 |
|
color |
String |
<optional> |
'rgb(255,255,255)' | 材质-颜色,默认白色 |
profile |
String |
<optional> |
"circle" | 横截面,可选"circle"|"quad" |
profileRotation |
String |
<optional> |
"all" | 横截面旋转角度,可选"heading"|"all" |
width |
Number |
<optional> |
10 | 宽度或者东西直径,传undefined会基于模型重新计算 |