Create a dotted line style with the given dot spacing in logical pixels.
(spacing: f32)
| 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 { |
nothing calls this directly
no outgoing calls
no test coverage detected