vlineColor function

int vlineColor(
  1. Pointer<SdlRenderer> renderer,
  2. int x,
  3. int y1,
  4. int y2,
  5. int color,
)

Implementation

int vlineColor(
    Pointer<SdlRenderer> renderer, int x, int y1, int y2, int color) {
  var co = Uint32List.fromList([color]).buffer.asUint8List();
  return vlineRgba(renderer, x, y1, y2, co[0], co[1], co[2], co[3]);
}