[][src]Module embedded_graphics::primitives

Graphics primitives

Re-exports

pub use self::arc::Arc;
pub use self::circle::Circle;
pub use self::ellipse::Ellipse;
pub use self::line::Line;
pub use self::polyline::Polyline;
pub use self::rectangle::Rectangle;
pub use self::rounded_rectangle::RoundedRectangle;
pub use self::sector::Sector;
pub use self::triangle::Triangle;

Modules

arc

The arc primitive

circle

The circle primitive

ellipse

The ellipse primitive

line

The line primitive

polyline

The polyline primitive

rectangle

The rectangle primitive. Also good for drawing squares.

rounded_rectangle

The rounded rectangle primitive.

sector

The sector primitive

triangle

The triangle primitive.

Structs

CornerRadii

The definition of each corner radius for a rounded rectangle.

CornerRadiiBuilder

CornerRadii builder.

Traits

ContainsPoint

Trait to check if a point is inside a closed shape.

OffsetOutline

Offset outline trait.

Primitive

Primitive trait