DrawLine method
Draw a line
Implementation
void DrawLine(
num startPosX,
num startPosY,
num endPosX,
num endPosY,
ColorD color,
) => run(
() => _debugLabels.DrawLine(startPosX, startPosY, endPosX, endPosY, color),
() => _flat.DrawLine(
startPosX.toInt(),
startPosY.toInt(),
endPosX.toInt(),
endPosY.toInt(),
color,
),
);