tawasuyu/llimphi
Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.
1// Copyright 2025 the Velato Authors
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3
4use serde::{Deserialize, Serialize};
5
6use crate::schema::{
7 animated_properties::value::FloatValue, shapes::graphic_element::GraphicElementShape,
8};
9
10#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
11pub struct ShapeStyleShape {
12 #[serde(flatten)]
13 pub graphic_element: GraphicElementShape,
14
15 /// Opacity, 100 means fully opaque
16 #[serde(rename = "o")]
17 pub opacity: FloatValue,
18}