roundedRectangleColor function

int roundedRectangleColor(
  1. Pointer<SdlRenderer> renderer,
  2. int x1,
  3. int y1,
  4. int x2,
  5. int y2,
  6. int rad,
  7. int color,
)

Implementation

int roundedRectangleColor(Pointer<SdlRenderer> renderer, int x1, int y1, int x2,
    int y2, int rad, int color) {
  var co = Uint32List.fromList([color]).buffer.asUint8List();
  return roundedRectangleRgba(
      renderer, x1, y1, x2, y2, rad, co[0], co[1], co[2], co[3]);
}