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