graphics_style/shapes/edge/
mod.rs

1use super::*;
2
3impl Default for EdgeStyle {
4    fn default() -> Self {
5        Self { texture: Texture::Color(Color::BLACK), width: 1.0 }
6    }
7}
8
9impl EdgeStyle {
10    pub fn empty() -> Self {
11        Self { texture: Texture::Color(Color::new(0, 0, 0, 0)), width: -1.0 }
12    }
13}