Module nannou::ui::prelude::widget::primitive::shape::rectangle[][src]

Expand description

A simple, non-interactive rectangle shape widget.

Due to the frequency of its use in GUIs, the Rectangle gets its own widget to allow backends to specialise their rendering implementations.

Structs

A basic, non-interactive rectangle shape widget.

Unique state for the Rectangle.

Enums

Whether the rectangle is drawn as an outline or a filled color.

Functions

The two triangles that describe the given Rect.