ellipseColor function

bool ellipseColor(
  1. Pointer<SdlRenderer> renderer,
  2. double x,
  3. double y,
  4. double rx,
  5. double ry,
  6. int color, {
  7. int blendMode = SDL_BLENDMODE_BLEND,
})

Implementation

bool ellipseColor(
  Pointer<SdlRenderer> renderer,
  double x,
  double y,
  double rx,
  double ry,
  int color, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) {
  final co = Uint32List.fromList([color]).buffer.asUint8List();
  return _ellipseRgba(
    renderer,
    x,
    y,
    rx,
    ry,
    co[0],
    co[1],
    co[2],
    co[3],
    0,
    blendMode: blendMode,
  );
}