CubicRadial
Reading needs 1 minutes
Before reading this section, please first read the API - Edge Configuration chapter.
If the element has its specific properties, we will list them below. For all generic style attributes, seeBaseEdge
style.controlPoints
[[number, number] | [number, number, number] | Float32Array, [number, number] | [number, number, number] | Float32Array__]
Control points. Used to define the shape of the curve. If not specified, it will be calculated using curveOffset
and curvePosition
.
style.curveOffset
number | [number, number] Default:
20
The distance of the control point from the line
style.curvePosition
number | [number, number] Default:
0.5
The relative position of the control point on the line, ranging from 0-1