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(
    rl.Temp.Vector2$.Ref1(p1).ref,
    rl.Temp.Vector2$.Ref2(p2).ref,
    rl.Temp.Vector2$.Ref3(p3).ref,
    rl.Temp.Vector2$.Ref4(p4).ref,
    thick.toDouble(),
    rl.Temp.Color$.Ref1(color).ref,
  ),
);