drawLine method
DrawLine() draws a line on the image using the current stroke color, stroke alpha, and stroke width.
sx
starting x ordinatesy
starting y ordinateex
ending x ordinateey
ending y ordinate
Implementation
void drawLine({
required double sx,
required double sy,
required double ex,
required double ey,
}) =>
_magickWandBindings.DrawLine(
_wandPtr,
sx,
sy,
ex,
ey,
);