Expand description
Graphics primitives
Re-exports§
pub use self::rectangle::Rectangle;
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::rounded_rectangle::CornerRadii;
pub use self::rounded_rectangle::CornerRadiiBuilder;
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§
- Primitive
Style - Style properties for primitives.
- Primitive
Style Builder - Primitive style builder.
- Styled
- Styled.
Enums§
- Stroke
Alignment - Stroke alignment.
Traits§
- Contains
Point - Trait to check if a point is inside a closed shape.
- Offset
Outline - Offset outline trait.
- Points
Iter - Create an iterator over all points in the primitive.
- Primitive
- Primitive trait
- Styled
Dimensions - Styled dimensions.
- Styled
Drawable - Styled drawable.