aboutsummaryrefslogtreecommitdiff
path: root/src/geometry/rounded.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/geometry/rounded.rs')
-rw-r--r--src/geometry/rounded.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/geometry/rounded.rs b/src/geometry/rounded.rs
new file mode 100644
index 0000000..615d408
--- /dev/null
+++ b/src/geometry/rounded.rs
@@ -0,0 +1,7 @@
+/// A rounded shape.
+pub struct Rounded<S> {
+ /// The shape being rounded.
+ pub shape: S,
+ /// The rounding radius.
+ pub radius: f32,
+}