1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use crate::color::Color; #[derive(Default, Clone, Debug)] pub struct Stroke { pub color: Color, pub options: lyon_tessellation::StrokeOptions, } impl Stroke { pub fn new(color: Color) -> Self { Self { color, options: Default::default(), } } }