Available on crate feature
geometry
only.Expand description
Build and draw geometry.
Re-exports§
pub use fill::Fill;
pub use frame::Frame;
pub use path::Path;
pub use stroke::LineCap;
pub use stroke::LineDash;
pub use stroke::LineJoin;
pub use stroke::Stroke;
pub use crate::gradient;
pub use crate::gradient::Gradient;
Modules§
- Fill
Geometry
with a certain style. - Draw and generate geometry.
- Build different kinds of 2D shapes.
- Create lines from a
Path
and assigns them various attributes/styles.
Structs§
- A simple cache that stores generated geometry to avoid recomputation.
- A raster image that can be drawn.
- A raster image that can be drawn.
- A bunch of text that can be drawn to a canvas
Enums§
- The coloring style of some drawing.
Traits§
- A renderer capable of drawing some
Self::Geometry
.