thickLineColor function

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

Implementation

bool thickLineColor(Pointer<SdlRenderer> renderer, double x1, double y1,
    double x2, double y2, double 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]);
}