ImageDrawLineEx method

void ImageDrawLineEx(
  1. Image dst,
  2. Vector2 start,
  3. Vector2 end,
  4. num thick,
  5. Color color,
)

Draw a line defining thickness within an image

Implementation

void ImageDrawLineEx(
  Image dst,
  Vector2 start,
  Vector2 end,
  num thick,
  Color color,
) => run(
  () => _debugLabels.ImageDrawLineEx(dst, start, end, thick, color),
  () => _flat.ImageDrawLineEx(
    Image$.Ref1(dst),
    start,
    end,
    thick.toInt(),
    color,
  ),
);