DrawLineEx method

void DrawLineEx(
  1. Vector2D startPos,
  2. Vector2D endPos,
  3. num thick,
  4. ColorD color,
)

Draw a line (using triangles/quads)

Implementation

void DrawLineEx(
  Vector2D startPos,
  Vector2D endPos,
  num thick,
  ColorD color,
) => run(
  () => _debugLabels.DrawLineEx(startPos, endPos, thick, color),
  () => _flat.DrawLineEx(
    startPos,
    endPos,
    thick.toDouble(),
    color,
  ),
);