Module embedded_graphics::primitives [−][src]
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::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 |
|
PrimitiveStyle | Style properties for primitives. |
PrimitiveStyleBuilder | Primitive style builder. |
Styled | Styled. |
Enums
StrokeAlignment | Stroke alignment. |
Traits
ContainsPoint | Trait to check if a point is inside a closed shape. |
OffsetOutline | Offset outline trait. |
PointsIter | Create an iterator over all points in the primitive. |
Primitive | Primitive trait |
StyledDimensions | Styled dimensions. |
StyledDrawable | Styled drawable. |