Function conrod_core::widget::rounded_rectangle::points[][src]

pub fn points(rect: Rect, radius: Scalar, corner_resolution: usize) -> Points

Notable traits for Points

impl Iterator for Points type Item = Point;
Expand description

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

  • rect describes the location and dimensions
  • radius describes the radius of the corner circles.
  • corner_resolution the number of lines used to draw each corner.