filledCircleColor function

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

Implementation

bool filledCircleColor(
    Pointer<SdlRenderer> renderer, double x, double y, double 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]);
}