drawRoundRectangle method
void
drawRoundRectangle({})
DrawRoundRectangle() draws a rounded rectangle given two coordinates, x & y corner radiuses and using the current stroke, stroke width, and fill settings.
x1
: x ordinate of first coordinatey1
: y ordinate of first coordinatex2
: x ordinate of second coordinatey2
: y ordinate of second coordinaterx
: radius of corner in horizontal directionry
: radius of corner in vertical direction
Implementation
void drawRoundRectangle({
required double x1,
required double y1,
required double x2,
required double y2,
required double rx,
required double ry,
}) =>
_magickWandBindings.DrawRoundRectangle(_wandPtr, x1, y1, x2, y2, rx, ry);