summaryrefslogtreecommitdiff
path: root/library/src/visualize/line.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-20 16:08:16 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-20 16:11:37 +0100
commitf5f7df7247ae29800e0290774a50942e2485beea (patch)
tree57253ba51efdae3ac8e4eea722428924625b514c /library/src/visualize/line.rs
parentb8ffd3ad3dcaebddbc674e03494e0d818b21fa51 (diff)
Documentation
Diffstat (limited to 'library/src/visualize/line.rs')
-rw-r--r--library/src/visualize/line.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/library/src/visualize/line.rs b/library/src/visualize/line.rs
index 6c60ef4e..7fed90ce 100644
--- a/library/src/visualize/line.rs
+++ b/library/src/visualize/line.rs
@@ -1,10 +1,11 @@
use crate::prelude::*;
+/// # Line
/// Display a line without affecting the layout.
///
/// You should only provide either an endpoint or an angle and a length.
///
-/// # Parameters
+/// ## Parameters
/// - origin: Axes<Rel<Length>> (named)
/// The start point of the line.
///
@@ -17,8 +18,8 @@ use crate::prelude::*;
/// - angle: Angle (named)
/// The angle at which the line points away from the origin.
///
-/// # Tags
-/// - visualize
+/// ## Category
+/// visualize
#[func]
#[capable(Layout, Inline)]
#[derive(Debug, Hash)]