MCPcopy Create free account
hub / github.com/5ocworkshop/bgraph / gradient

Method gradient

src/classes/cls_graph.rs:114–117  ·  view source on GitHub ↗

Set a color gradient for value-based coloring

(mut self, gradient: ColorGradient)

Source from the content-addressed store, hash-verified

112
113 /// Set a color gradient for value-based coloring
114 pub fn gradient(mut self, gradient: ColorGradient) -> Self {
115 self.gradient = Some(gradient);
116 self
117 }
118
119 /// Set the gradient coloring mode
120 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected