hlineColor function

bool hlineColor(
  1. Pointer<SdlRenderer> renderer,
  2. double x1,
  3. double x2,
  4. double y,
  5. SdlxColor color, {
  6. int blendMode = SDL_BLENDMODE_BLEND,
})

Implementation

bool hlineColor(
  Pointer<SdlRenderer> renderer,
  double x1,
  double x2,
  double y,
  SdlxColor color, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) => hlineRgba(
  renderer,
  x1,
  x2,
  y,
  color.r,
  color.g,
  color.b,
  color.a,
  blendMode: blendMode,
);