Module conrod::widget::primitive::shape::rectangle[][src]

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

Rectangle

A basic, non-interactive rectangle shape widget.

State

Unique state for the Rectangle.

Enums

Kind

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

Functions

triangles

The two triangles that describe the given Rect.