DrawLineBezier method

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

Draw line segment cubic-bezier in-out interpolation

Implementation

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