characterColor function

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

Implementation

bool characterColor(
    Pointer<SdlRenderer> renderer, double x, double y, int c, int color) {
  var co = Uint32List.fromList([color]).buffer.asUint8List();
  return characterRgba(renderer, x, y, c, co[0], co[1], co[2], co[3]);
}