drawRectangleRoundedLines function

void drawRectangleRoundedLines(
  1. Rectangle rec,
  2. double roundness,
  3. int segments,
  4. double lineThick,
  5. Color color,
)

Draw rectangle with rounded edges outline.

Implementation

void drawRectangleRoundedLines(
  Rectangle rec,
  double roundness,
  int segments,
  double lineThick,
  Color color,
) {
  return library.DrawRectangleRoundedLines(
    rec.ref,
    roundness,
    segments,
    lineThick,
    color.ref,
  );
}