OEDrawCurvedRectangle

OEDrawCurvedRectangle(image: OEImageBase, tl: OE2DPoint,
                      br: OE2DPoint, pen: OEPen, radius: float) -> None

Draws a round rectangle with the given pen.

image

The image around which the border is drawn.

tl, br

The position of the top-left and bottom-right corner of the rectangle.

pen

The graphical properties of the border.

radius

The parameter that determines the roundedness of the corners of the rectangle.

See also