enum
TextAlign
pub enum TextAlign {
Start,
Center,
Right,
}Horizontal text alignment relative to x.
Variants
Methods
parse
pub fn parse(s: &str) -> TextAlignThe alignment s names: center (or middle), right (or end); anything else is the start.