ImageDrawLine method
void
ImageDrawLine(
- StructPointer dst,
- int startPosX,
- int startPosY,
- int endPosX,
- int endPosY,
- dynamic color,
override
Draw line within an image
Implementation
@override
void ImageDrawLine(
StructPointer<ImageD> dst,
int startPosX,
int startPosY,
int endPosX,
int endPosY,
ColorD color,
) => _ffi.ImageDrawLine(
dst.asNativePointer(),
startPosX,
startPosY,
endPosX,
endPosY,
$.Color$.Ref1(color).asNativePointer<ColorC>().ref,
);