Module shapes

Source
Expand description

Structs for working with shapes as values.

The graphics module provides functions for drawing shapes. This modules provides useful struct for when you need to store or manipulate a shape before it can be drawn.

Structs§

Arc
A wrapper for draw_arc.
Circle
A wrapper for draw_circle.
Ellipse
A wrapper for draw_ellipse.
Line
A wrapper for draw_line.
Rect
A wrapper for draw_rect.
RoundedRect
A wrapper for draw_rounded_rect.
Sector
A wrapper for draw_sector.
Triangle
A wrapper for draw_triangle.

Traits§

Shape