filledCircleColor function

int filledCircleColor(
  1. Pointer<SdlRenderer> renderer,
  2. int x,
  3. int y,
  4. int rad,
  5. int color,
)

Implementation

int filledCircleColor(
    Pointer<SdlRenderer> renderer, int x, int y, int rad, int color) {
  var co = Uint32List.fromList([color]).buffer.asUint8List();
  return filledEllipseRgba(
      renderer, x, y, rad, rad, co[0], co[1], co[2], co[3]);
}