LineShapeSplineStyle

See source code

Style property for line shape spline interpolation. Determines how the line is rendered between points - either as straight line segments or smooth cubic curves.

LineShapeSplineStyle: import('../styles/StyleProp').EnumStyleProp<
  'cubic' | 'line'
>

Example

// Create a shape with cubic spline interpolation
const lineProps = {
  spline: 'cubic' as TLLineShapeSplineStyle,
  // other props...
}
Prev
lineShapeProps
Next
noteShapeMigrations