Module graphics::rectangle [−] [src]

Draw rectangle

Reexports

pub use math::margin_rectangle as margin;

Structs

Border

The border of the rectangle

Rectangle

A filled rectangle

Enums

Shape

The shape of the rectangle

Functions

centered

Use x, y, half-width, half-height

centered_square

Use centered square

square

Use square with x, y in upper left corner