summaryrefslogtreecommitdiff
path: root/library/src/visualize
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/visualize')
-rw-r--r--library/src/visualize/line.rs3
-rw-r--r--library/src/visualize/shape.rs5
2 files changed, 8 insertions, 0 deletions
diff --git a/library/src/visualize/line.rs b/library/src/visualize/line.rs
index 5c8c9644..6c60ef4e 100644
--- a/library/src/visualize/line.rs
+++ b/library/src/visualize/line.rs
@@ -7,10 +7,13 @@ use crate::prelude::*;
/// # Parameters
/// - origin: Axes<Rel<Length>> (named)
/// The start point of the line.
+///
/// - to: Axes<Rel<Length>> (named)
/// The end point of the line.
+///
/// - length: Rel<Length> (named)
/// The line's length.
+///
/// - angle: Angle (named)
/// The angle at which the line points away from the origin.
///
diff --git a/library/src/visualize/shape.rs b/library/src/visualize/shape.rs
index be80b4fb..9c66e867 100644
--- a/library/src/visualize/shape.rs
+++ b/library/src/visualize/shape.rs
@@ -7,14 +7,19 @@ use crate::prelude::*;
/// # Parameters
/// - body: Content (positional)
/// The content to place into the shape.
+///
/// - width: Rel<Length> (named)
/// The shape's width.
+///
/// - height: Rel<Length> (named)
/// The shape's height.
+///
/// - size: Length (named)
/// The square's side length.
+///
/// - radius: Length (named)
/// The circle's radius.
+///
/// - stroke: Smart<Sides<Option<PartialStroke>>> (named)
/// How to stroke the shape.
///