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 crate::schema::shapes::{FloatValue, modifier::ModifierShape};
5use serde::{Deserialize, Serialize};
6
7/// Interpolates the shape with its center point and bezier tangents with the
8/// opposite direction
9#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
10pub struct PuckerBloatShape {
11 #[serde(flatten)]
12 pub modifier: ModifierShape,
13
14 /// Amount as a percentage
15 #[serde(rename = "a")]
16 #[serde(skip_serializing_if = "Option::is_none")]
17 pub amount: Option<FloatValue>,
18}