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

Method with_width_world

src/reference_lines.rs:70–73  ·  view source on GitHub ↗

Set the line width in world units.

(mut self, width: f64)

Source from the content-addressed store, hash-verified

68
69 /// Set the line width in world units.
70 pub fn with_width_world(mut self, width: f64) -> Self {
71 self.line_style.width = Size::World(width.max(f64::EPSILON));
72 self
73 }
74
75 /// Set the line style.
76 pub fn with_style(mut self, style: LineStyle) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected