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

Method with_width

src/series.rs:74–77  ·  view source on GitHub ↗

Set the line width in either logical pixels or world units.

(mut self, width: impl Into<Size>)

Source from the content-addressed store, hash-verified

72
73 /// Set the line width in either logical pixels or world units.
74 pub fn with_width(mut self, width: impl Into<Size>) -> Self {
75 self.width = width.into();
76 self
77 }
78
79 /// Set the line width in logical pixels.
80 pub fn with_pixel_width(mut self, width: f32) -> Self {

Callers 6

line_widthMethod · 0.45
draw_gridFunction · 0.45
draw_markerFunction · 0.45
stroke_segmentFunction · 0.45
newFunction · 0.45
newFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected