vlineColor function

bool vlineColor(
  1. Pointer<SdlRenderer> renderer,
  2. double x,
  3. double y1,
  4. double y2,
  5. int color, {
  6. int blendMode = SDL_BLENDMODE_BLEND,
})

Implementation

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