DrawRectangleRounded method
Draw rectangle with rounded edges
Implementation
void DrawRectangleRounded(
RectangleD rec,
num roundness,
num segments,
ColorD color,
) => run(
() => _debugLabels.DrawRectangleRounded(rec, roundness, segments, color),
() => _flat.DrawRectangleRounded(
rec,
roundness.toDouble(),
segments.toInt(),
color,
),
);