rectRound method

GraphicsCommandRectRound rectRound(
  1. num x,
  2. num y,
  3. num width,
  4. num height,
  5. num ellipseWidth,
  6. num ellipseHeight,
)

Draw a rounded rectangle at x and y.

Implementation

GraphicsCommandRectRound rectRound(num x, num y, num width, num height,
    num ellipseWidth, num ellipseHeight) {
  final command = GraphicsCommandRectRound(
      x, y, width, height, ellipseWidth, ellipseHeight);
  addCommand(command);
  return command;
}