MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / with_alpha

Function with_alpha

src/style.rs:98–100  ·  view source on GitHub ↗
(color: Color, alpha: f32)

Source from the content-addressed store, hash-verified

96}
97
98fn with_alpha(color: Color, alpha: f32) -> Color {
99 Color { a: alpha, ..color }
100}

Callers 1

default_styleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected