[−][src]Module conrod_core::widget::rounded_rectangle
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
Points | An iterator yielding the outer points of a |
RoundedRectangle | Draws a rectangle with corners rounded via the given radius. |
State | Unique state for the |
Constants
DEFAULT_CORNER_RESOLUTION | The default resolution of the circle used to draw the rounded corners. |
Functions
is_over_widget | The function to use for picking whether a given point is over the polygon. |
points | Produce an iterator yielding the outer points of a rounded rectangle. |
Type Definitions
Triangles | An iterator yielding triangles for a |