diff --git a/src/brush.rs b/src/brush.rs index 0135dbc..d7abd86 100644 --- a/src/brush.rs +++ b/src/brush.rs @@ -28,6 +28,12 @@ impl From for Brush { } } +impl Default for Brush { + fn default() -> Self { + Self::Solid(Color::default()) + } +} + /// Reference to a [brush](Brush). /// /// This is useful for methods that would like to accept brushes by reference. Defining