ImageDrawLine method
void
ImageDrawLine()
Implementation
void ImageDrawLine(
ImageD dst,
num startPosX,
num startPosY,
num endPosX,
num endPosY,
ColorD color,
) => run(
() => 'ImageDrawLine($dst, $startPosX, $startPosY, $endPosX, $endPosY, $color)',
() => _refUpdateImage(dst,
(p) => rl.Core.ImageDrawLine(
p,
startPosX.toInt(),
startPosY.toInt(),
endPosX.toInt(),
endPosY.toInt(),
_refColor1(color).ref,
),
),
);