Skip to main content

Module paint

Module paint 

Expand description

Paint controls options applied when drawing. Paint collects all options outside of the crate::Canvas clip and crate::Canvas matrix.

Various options apply to strokes and fills, and images.

Paint collects effects and filters that describe single-pass and multiple-pass algorithms that alter the drawing geometry, color, and transparency. For instance, Paint does not directly implement dashing or blur, but contains the objects that do so.

Enums§

Cap
Join
Style

Type Aliases§

Paint
Paint controls options applied when drawing.