Expand description

Similar to the Rectangle widget however is drawn with rounded corners.

The roundedness of the corners is specified with a radius. This indicates the radius of the circle used to draw the corners.

Structs

An iterator yielding the outer points of a RoundedRectangle

Draws a rectangle with corners rounded via the given radius.

Unique state for the RoundedRectangle.

Constants

The default resolution of the circle used to draw the rounded corners.

Functions

The function to use for picking whether a given point is over the polygon.

Produce an iterator yielding the outer points of a rounded rectangle.

Type Definitions

An iterator yielding triangles for a RoundedRectangle.