tawasuyu/llimphi
Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.
1// Copyright 2024 the Velato Authors
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3
4use serde_repr::{Deserialize_repr, Serialize_repr};
5
6/// Text alignment / justification
7#[repr(u8)]
8#[derive(Deserialize_repr, Serialize_repr, Debug, Clone, PartialEq)]
9pub enum TextJustify {
10 Left = 0,
11 Right = 1,
12 Center = 2,
13 JustifyWithLastLineLeft = 3,
14 JustifyWithLastLineRight = 4,
15 JustifyWithLastLineCenter = 5,
16 JustifyWithLastLineFull = 6,
17}