tawasuyu/llimphi
Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.
⎇ main
shared/foreign-lottie/src/schema/shapes/gradient_stroke.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 crate::schema::shapes::shape_style::ShapeStyleShape;
5
6use super::base_gradient::BaseGradientShape;
7use super::base_stroke::BaseStrokeShape;
8use super::graphic_element::GraphicElementShape;
9use serde::{Deserialize, Serialize};
10
11#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
12pub struct GradientStrokeShape {
13 #[serde(flatten)]
14 pub shape_style: ShapeStyleShape,
15
16 #[serde(flatten)]
17 pub base_stroke: BaseStrokeShape,
18
19 #[serde(flatten)]
20 pub gradient: BaseGradientShape,
21}