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

Method dotted

src/series.rs:58–63  ·  view source on GitHub ↗

Create a dotted line style with the given dot spacing in logical pixels.

(spacing: f32)

Source from the content-addressed store, hash-verified

56
57 /// Create a dotted line style with the given dot spacing in logical pixels.
58 pub fn dotted(spacing: f32) -> Self {
59 Self {
60 line_type: LineType::Dotted { spacing },
61 ..Self::default()
62 }
63 }
64
65 /// Create a dashed line style with the given dash length in logical pixels.
66 pub fn dashed(length: f32) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected