Expand description
Re-exports§
pub use color;pub use kurbo;pub use linebender_resource_handle;
Structs§
- Blend
Mode - Blend mode consisting of color mixing and composition functions.
- Blob
- Re-export of the linebender resource handle library types. Shared data with an associated unique identifier.
- Color
Stop - Offset and color of a transition point in a gradient.
- Color
Stops - Collection of color stops.
- Font
Data - Re-export of the linebender resource handle library types. Owned shareable font resource.
- Gradient
- Definition of a gradient that transitions between two or more colors.
- Image
Brush - Describes the image content of a filled or stroked shape.
- Image
Data - Owned shareable image resource.
- Image
Sampler - Parameters which specify how to sample an image during rendering.
- Linear
Gradient Position - Parameters that define the position of a linear gradient.
- Radial
Gradient Position - Parameters that define the position of a radial gradient.
- Sweep
Gradient Position - Parameters that define the position of a sweep gradient.
- Weak
Blob - Re-export of the linebender resource handle library types. Weak reference to a shared blob.
Enums§
- Brush
- Describes the color content of a filled or stroked shape.
- Compose
- Defines the layer composition function for a blend operation.
- Extend
- Defines how a brush is extended when the content does not fill a shape.
- Fill
- Describes the rule that determines the interior portion of a shape.
- Gradient
Kind - Properties for the supported gradient types.
- Image
Alpha Type - Handling of alpha channel.
- Image
Format - Defines the pixel format of an image.
- Image
Quality - Defines the desired quality for sampling an image.
- Interpolation
Alpha Space - Defines how color channels should be handled when interpolating between transparent colors.
- Mix
- Defines the color mixing function for a blend operation.
- Style
- Describes draw style– either a fill or stroke.
- Style
Ref - Reference to a draw style.
Traits§
- Color
Stops Source - Trait for types that represent a source of color stops.
Type Aliases§
- Brush
Ref - Reference to a brush.
- Color
- A convenient alias for the color type used for
Brush. - Image
Brush Ref - Borrowed version of
ImageBrushfor avoiding reference counting overhead.