Skip to main content

Segment

Typeobject
Backlinks1

A segment in a vector network.

PropertyTypeRequired
classstringRequired
startintegerRequired
endintegerRequired
curveFromPointOptional
curveToPointOptional

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"segment"

start​

Required

Description

The starting point of the segment. The number is the index of the vertices list in Vector NetWork, starting from 0.

Type

integer

end​

Required

Description

The ending point of the segment. The number is the index of the vertices list in Vector NetWork, starting from 0.

Type

integer

curveFrom​

Optional

Description

The control point of the starting point of the Bezier curve.

Type

Point

curveTo​

Optional

Description

The control point of the ending point of the Bezier curve.

Type

Point