[−][src]Trait tui::widgets::canvas::Shape
Interface for all shapes that may be drawn on a Canvas widget.
Required methods
fn color(&self) -> Color
Returns the color of the shape
fn points(&'a self) -> Box<dyn Iterator<Item = (f64, f64)> + 'a>
Returns an iterator over all points of the shape