diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:08:16 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:11:37 +0100 |
| commit | f5f7df7247ae29800e0290774a50942e2485beea (patch) | |
| tree | 57253ba51efdae3ac8e4eea722428924625b514c /library/src/visualize/shape.rs | |
| parent | b8ffd3ad3dcaebddbc674e03494e0d818b21fa51 (diff) | |
Documentation
Diffstat (limited to 'library/src/visualize/shape.rs')
| -rw-r--r-- | library/src/visualize/shape.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/library/src/visualize/shape.rs b/library/src/visualize/shape.rs index 9c66e867..5edab70b 100644 --- a/library/src/visualize/shape.rs +++ b/library/src/visualize/shape.rs @@ -2,9 +2,10 @@ use std::f64::consts::SQRT_2; use crate::prelude::*; +/// # Rectangle /// A sizable and fillable shape with optional content. /// -/// # Parameters +/// ## Parameters /// - body: Content (positional) /// The content to place into the shape. /// @@ -23,8 +24,8 @@ use crate::prelude::*; /// - stroke: Smart<Sides<Option<PartialStroke>>> (named) /// How to stroke the shape. /// -/// # Tags -/// - visualize +/// ## Category +/// visualize #[func] #[capable(Layout, Inline)] #[derive(Debug, Hash)] |
