DrawSplineSegmentCatmullRom method

  1. @override
void DrawSplineSegmentCatmullRom(
  1. Vector2 p1,
  2. Vector2 p2,
  3. Vector2 p3,
  4. Vector2 p4,
  5. double thick,
  6. Color color,
)
override

Draw spline segment: Catmull-Rom, 4 points

Implementation

@override
void DrawSplineSegmentCatmullRom(
  Vector2 p1,
  Vector2 p2,
  Vector2 p3,
  Vector2 p4,
  double thick,
  Color color,
) => _ffi.DrawSplineSegmentCatmullRom(
  Vector2$.Ref1(p1).asNativePointer<Vector2C>().ref,
  Vector2$.Ref2(p2).asNativePointer<Vector2C>().ref,
  Vector2$.Ref3(p3).asNativePointer<Vector2C>().ref,
  Vector2$.Ref4(p4).asNativePointer<Vector2C>().ref,
  thick,
  Color$.Ref1(color).asNativePointer<ColorC>().ref,
);