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

Method with_pixel_width

src/series.rs:80–83  ·  view source on GitHub ↗

Set the line width in logical pixels.

(mut self, width: f32)

Source from the content-addressed store, hash-verified

78
79 /// Set the line width in logical pixels.
80 pub fn with_pixel_width(mut self, width: f32) -> Self {
81 self.width = Size::Pixels(width);
82 self
83 }
84
85 /// Set the line width in world units.
86 pub fn with_world_width(mut self, width: f64) -> Self {

Callers 4

newFunction · 0.80
plot_widgetFunction · 0.80
new_plotFunction · 0.80
newFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected