DrawSplineSegmentCatmullRom method

void DrawSplineSegmentCatmullRom(
  1. Vector2D p1,
  2. Vector2D p2,
  3. Vector2D p3,
  4. Vector2D p4,
  5. num thick,
  6. ColorD color,
)

Implementation

void DrawSplineSegmentCatmullRom(
  Vector2D p1,
  Vector2D p2,
  Vector2D p3,
  Vector2D p4,
  num thick,
  ColorD color,
) => run(
  () => 'DrawSplineSegmentCatmullRom($p1, $p2, $p3, $p4, $thick, $color)',
  () => rl.Core.DrawSplineSegmentCatmullRom(
    _refVector21(p1).ref,
    _refVector22(p2).ref,
    _refVector23(p3).ref,
    _refVector24(p4).ref,
    thick.toDouble(),
    _refColor1(color).ref,
  ),
);