bevy_resvg 2.3.2

A simple library for rendering SVGs in Bevy using the amazing Resvg library.
Documentation
1
2
3
4
5
6
7
8
// Parts taken from 生于斯's fork of this repository:
// https://github.com/shengyusi-SYS/bevy_svg_ui
use bevy::prelude::*;

/// A colour tint to apply to an SVG when rendering.
/// This will be multiplied with the SVG's original colours.
#[derive(Component, Clone, Copy, Debug, Default, PartialEq)]
pub struct SvgColor(pub Color);