lineProps
概览
lineProps 适用于 line。
相关文档
字段表
Key |
类型 |
默认值 |
Binding |
UI 影响 / 限制 |
|---|---|---|---|---|
|
|
|
|
线段点集;至少需要两个点才能形成可见线段 |
Point 字段表
Key |
类型 |
默认值 |
说明 |
|---|---|---|---|
|
integer px |
|
点的 X 坐标 |
|
integer px |
|
点的 Y 坐标 |
示例
"lineProps": {
"points": [
{ "x": 0, "y": 0 },
{ "x": 120, "y": 0 }
]
}