ImageDrawLineEx method

void ImageDrawLineEx(
  1. ImageD dst,
  2. Vector2D start,
  3. Vector2D end,
  4. num thick,
  5. ColorD color,
)

Implementation

void ImageDrawLineEx(
  ImageD dst,
  Vector2D start,
  Vector2D end,
  num thick,
  ColorD color,
) => run(
  () => 'ImageDrawLineEx($dst, $start, $end, $thick, $color)',
  () => _refUpdateImage(dst,
    (p) => rl.Core.ImageDrawLineEx(
      p,
      _refVector21(start).ref,
      _refVector22(end).ref,
      thick.toInt(),
      _refColor1(color).ref,
    ),
  ),
);