Align

The Align struct defines alignment values along the x and y axes.

Properties

decoratenametypedescription
livexf64The alignment value along the x-axis.
liveyf64The alignment value along the y-axis.

Example

#![allow(unused)]
fn main() {
align: {x: 5, y: 6.0},
align: 0.5,
}