Lineprops

[中文]

Overview

lineProps applies to line.

Field Table

Key

Type

Default

Binding

UI Effect / Limits

points

Point[]

[]

lineProps.points

the set of line points; at least two points are needed to form a visible line

Point Field Table

Key

Type

Default

Description

x

integer px

0

the point's X coordinate

y

integer px

0

the point's Y coordinate

Example

"lineProps": {
    "points": [
        { "x": 0, "y": 0 },
        { "x": 120, "y": 0 }
    ]
}