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

Method line_width_world

src/series.rs:469–472  ·  view source on GitHub ↗

Set or change the line width for the series in world units.

(mut self, width: f64)

Source from the content-addressed store, hash-verified

467
468 /// Set or change the line width for the series in world units.
469 pub fn line_width_world(mut self, width: f64) -> Self {
470 self.line_style = Some(self.line_style.unwrap_or_default().with_world_width(width));
471 self
472 }
473
474 /// Set or change only the line type while preserving width if it already exists.
475 pub fn line_type(mut self, line_type: LineType) -> Self {

Callers

nothing calls this directly

Calls 1

with_world_widthMethod · 0.80

Tested by

no test coverage detected