DrawSplineSegmentBasis method

void DrawSplineSegmentBasis(
  1. Vector2D p1,
  2. Vector2D p2,
  3. Vector2D p3,
  4. Vector2D p4,
  5. num thick,
  6. ColorD color,
)

Draw spline segment: B-Spline, 4 points

Implementation

void DrawSplineSegmentBasis(
  Vector2D p1,
  Vector2D p2,
  Vector2D p3,
  Vector2D p4,
  num thick,
  ColorD color,
) => run(
  () => _debugLabels.DrawSplineSegmentBasis(p1, p2, p3, p4, thick, color),
  () => _flat.DrawSplineSegmentBasis(
    p1,
    p2,
    p3,
    p4,
    thick.toDouble(),
    color,
  ),
);