Function nannou::ui::widget::rounded_rectangle::points [−][src]
ⓘImportant traits for Points
pub fn points(rect: Rect, radius: f64, corner_resolution: usize) -> Points
Produce an iterator yielding the outer points of a rounded rectangle.
rect
describes the location and dimensionsradius
describes the radius of the corner circles.corner_resolution
the number of lines used to draw each corner.