Set the color gradient for per-character coloring.
(mut self, gradient: ColorGradient)
| 71 | |
| 72 | /// Set the color gradient for per-character coloring. |
| 73 | pub fn gradient(mut self, gradient: ColorGradient) -> Self { |
| 74 | self.gradient = Some(gradient); |
| 75 | self |
| 76 | } |
| 77 | |
| 78 | /// Set the fallback style (used when no gradient is set). |
| 79 | pub fn style(mut self, style: Style) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected