velato 0.10.0

A Lottie integration for vello.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2024 the Velato Authors
// SPDX-License-Identifier: Apache-2.0 OR MIT

use serde_repr::{Deserialize_repr, Serialize_repr};

/// Text alignment / justification
#[repr(u8)]
#[derive(Deserialize_repr, Serialize_repr, Debug, Clone, PartialEq)]
pub enum TextJustify {
    Left = 0,
    Right = 1,
    Center = 2,
    JustifyWithLastLineLeft = 3,
    JustifyWithLastLineRight = 4,
    JustifyWithLastLineCenter = 5,
    JustifyWithLastLineFull = 6,
}