summaryrefslogtreecommitdiff
path: root/library/src/layout/transform.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/layout/transform.rs')
-rw-r--r--library/src/layout/transform.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/src/layout/transform.rs b/library/src/layout/transform.rs
index 3af44ca0..b509607d 100644
--- a/library/src/layout/transform.rs
+++ b/library/src/layout/transform.rs
@@ -7,8 +7,10 @@ use crate::prelude::*;
/// # Parameters
/// - body: Content (positional, required)
/// The content to move.
+///
/// - dx: Rel<Length> (named)
/// The horizontal displacement of the content.
+///
/// - dy: Rel<Length> (named)
/// The vertical displacement of the content.
///
@@ -61,10 +63,13 @@ impl Inline for MoveNode {}
/// # Parameters
/// - body: Content (positional, required)
/// The content to transform.
+///
/// - angle: Angle (named)
/// The amount of rotation.
+///
/// - x: Ratio (named)
/// The horizontal scaling factor.
+///
/// - y: Ratio (named)
/// The vertical scaling factor.
///