ImageDrawLineEx method

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

Draw a line defining thickness within an image

Implementation

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