See RaylibCore.DrawLine.
void DrawLine( int startPosX, int startPosY, int endPosX, int endPosY, ColorC color, ) => _module.DrawLine(startPosX, startPosY, endPosX, endPosY, color);