DrawRectangleRoundedLines method

void DrawRectangleRoundedLines(
  1. RectangleD rec,
  2. num roundness,
  3. num segments,
  4. ColorD color,
)

Draw rectangle lines with rounded edges

Implementation

void DrawRectangleRoundedLines(
  RectangleD rec,
  num roundness,
  num segments,
  ColorD color,
) => run(
  () => _debugLabels.DrawRectangleRoundedLines(rec, roundness, segments, color),
  () => _flat.DrawRectangleRoundedLines(
    rec,
    roundness.toDouble(),
    segments.toInt(),
    color,
  ),
);