diff options
author | 2019-12-31 21:35:42 +0100 | |
---|---|---|
committer | 2019-12-31 21:38:52 +0100 | |
commit | 9ab7c47dc7d834ee73bc068f9f34eea4d6946436 (patch) | |
tree | ea52e51ffef12208a47fe29299c70095ad403957 /wgpu/src/primitive.rs | |
parent | 649d72e7de88e593255075957e65414ed1b4d0d6 (diff) | |
download | iced-9ab7c47dc7d834ee73bc068f9f34eea4d6946436.tar.gz iced-9ab7c47dc7d834ee73bc068f9f34eea4d6946436.tar.bz2 iced-9ab7c47dc7d834ee73bc068f9f34eea4d6946436.zip |
Add `border_width` and `border_color` to `Quad`
Diffstat (limited to '')
-rw-r--r-- | wgpu/src/primitive.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wgpu/src/primitive.rs b/wgpu/src/primitive.rs index 6c61f800..f4609151 100644 --- a/wgpu/src/primitive.rs +++ b/wgpu/src/primitive.rs @@ -38,6 +38,10 @@ pub enum Primitive { background: Background, /// The border radius of the quad border_radius: u16, + /// The border width of the quad + border_width: u16, + /// The border color of the quad + border_color: Color, }, /// An image primitive Image { |