ImageDrawLine method
void
ImageDrawLine()
override
Implementation
@override
void ImageDrawLine(
ImageD dst,
num startPosX,
num startPosY,
num endPosX,
num endPosY,
ColorD color,
) => run(
() => RaylibDebugLabels.ImageDrawLine(dst, startPosX, startPosY, endPosX, endPosY, color),
() => rl.Temp.Image$.RefUpdate1(dst,
(p) => rl.Core.ImageDrawLine(
p,
startPosX.toInt(),
startPosY.toInt(),
endPosX.toInt(),
endPosY.toInt(),
rl.Temp.Color$.Ref1(color).ref,
),
),
);