DrawSplineSegmentCatmullRom method
void
DrawSplineSegmentCatmullRom()
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,
);