Skip to main content

translucent_fill

Function translucent_fill 

Source
pub fn translucent_fill<C: Color>(color: &C, alpha: f64) -> ShapeStyle
Expand description

A translucent fill built from color at the given alpha (0.0–1.0).

Used for area shading (AUC fills, violin bodies, box interiors) where an opaque fill would hide gridlines or overlapping series.