Function nannou::ui::widget::primitive::shape::rectangle::triangles[][src]

pub fn triangles(rect: Rect) -> (Triangle<[f64; 2]>, Triangle<[f64; 2]>)
Expand description

The two triangles that describe the given Rect.