filledPolygonColor function

bool filledPolygonColor(
  1. Pointer<SdlRenderer> renderer,
  2. Pointer<Int16> vx,
  3. Pointer<Int16> vy,
  4. int n,
  5. int color,
)

Implementation

bool filledPolygonColor(Pointer<SdlRenderer> renderer, Pointer<Int16> vx,
    Pointer<Int16> vy, int n, int color) {
  var co = Uint32List.fromList([color]).buffer.asUint8List();
  return filledPolygonRgbaMt(renderer, vx, vy, n, co[0], co[1], co[2], co[3]);
}