tawasuyu/llimphi
Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.
⎇ main
shared/foreign-lottie/src/schema/constants/text_shape.rs
Ñawpa willay
Pi imata llamkarqan
ch'uya
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/// Defines the function used to determine the interpolating factor on a text
7/// range selector.
8#[repr(u8)]
9#[derive(Deserialize_repr, Serialize_repr, Debug, Clone, PartialEq)]
10pub enum TextShape {
11 Square = 1,
12 RampUp = 2,
13 RampDown = 3,
14 Triangle = 4,
15 Round = 5,
16 Smooth = 6,
17}