arcColor function

bool arcColor(
  1. Pointer<SdlRenderer> renderer,
  2. double x,
  3. double y,
  4. double rad,
  5. double start,
  6. double end,
  7. int color, {
  8. int blendMode = SDL_BLENDMODE_BLEND,
})

Implementation

bool arcColor(
  Pointer<SdlRenderer> renderer,
  double x,
  double y,
  double rad,
  double start,
  double end,
  int color, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) {
  final co = Uint32List.fromList([color]).buffer.asUint8List();
  return arcRgba(
    renderer,
    x,
    y,
    rad,
    start,
    end,
    co[0],
    co[1],
    co[2],
    co[3],
    blendMode: blendMode,
  );
}