drawRRect method

void drawRRect (RRect rrect, Paint paint)

Draws a rounded rectangle with the given Paint. Whether the rectangle is filled or stroked (or both) is controlled by Paint.style.

Implementation

void drawRRect(RRect rrect, Paint paint) {
  assert(_rrectIsValid(rrect));
  assert(paint != null);
  _drawRRect(rrect._value, paint._objects, paint._data);
}