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

Method dashed

src/series.rs:66–71  ·  view source on GitHub ↗

Create a dashed line style with the given dash length in logical pixels.

(length: f32)

Source from the content-addressed store, hash-verified

64
65 /// Create a dashed line style with the given dash length in logical pixels.
66 pub fn dashed(length: f32) -> Self {
67 Self {
68 line_type: LineType::Dashed { length },
69 ..Self::default()
70 }
71 }
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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected