Expand description
A Rust 2D graphics type library
The peniko
library builds on top of kurbo
and provides a set of generic types that define
styles for rendering and composition.
The name “peniko” is Esperanto for “brush” which is one family of types that the library contains.
Re-exports§
pub use kurbo;
Structs§
- Blend mode consisting of color mixing and composition functions.
- Shared data with an associated unique identifier.
- 32-bit RGBA color.
- Offset and color of a transition point in a gradient.
- Owned shareable font resource.
- Definition of a gradient that transitions between two or more colors.
- Owned shareable image resource.
- Weak reference to a shared blob.
Enums§
- Describes the color content of a filled or stroked shape.
- Reference to a brush.
- Defines the layer composition function for a blend operation.
- Defines how a brush is extended when the content does not fill a shape.
- Describes the rule that determines the interior portion of a shape.
- Defines the pixel format of an image.
- Properties for the supported gradient types.
- Defines the color mixing function for a blend operation.
- Reference to a draw style.
Traits§
- Trait for types that represent a source of color stops.
Type Aliases§
- Collection of color stops.