Module tui::widgets::canvas[][src]

Structs

Canvas

The Canvas widget may be used to draw more detailed figures using braille patterns (each cell can have a braille character in 8 different positions).

Context

Holds the state of the Canvas when painting to it.

Label

Label to draw some text on the canvas

Line

Shape to draw a line from (x1, y1) to (x2, y2) with the given color

Map

Shape to draw a world map with the given resolution and color

Painter
Points

A shape to draw a group of points with the given color

Rectangle

Shape to draw a rectangle from a Rect with the given color

Enums

MapResolution

Traits

Shape

Interface for all shapes that may be drawn on a Canvas widget.