roundedBoxColor function

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

Implementation

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