DrawLineEx method

void DrawLineEx(
  1. Vector2 startPos,
  2. Vector2 endPos,
  3. num thick,
  4. Color color,
)

Draw a line (using triangles/quads)

Implementation

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