thickLineColor function

int thickLineColor(
  1. Pointer<SdlRenderer> renderer,
  2. int x1,
  3. int y1,
  4. int x2,
  5. int y2,
  6. int width,
  7. int color,
)

Implementation

int thickLineColor(Pointer<SdlRenderer> renderer, int x1, int y1, int x2,
    int y2, int width, int color) {
  var co = Uint32List.fromList([color]).buffer.asUint8List();
  return thickLineRgba(
      renderer, x1, y1, x2, y2, width, co[0], co[1], co[2], co[3]);
}