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
18
// Copyright 2025 the Velato Authors
// SPDX-License-Identifier: Apache-2.0 OR MIT

use serde::{Deserialize, Serialize};

use crate::schema::{
    animated_properties::value::FloatValue, shapes::graphic_element::GraphicElementShape,
};

#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
pub struct ShapeStyleShape {
    #[serde(flatten)]
    pub graphic_element: GraphicElementShape,

    /// Opacity, 100 means fully opaque
    #[serde(rename = "o")]
    pub opacity: FloatValue,
}