reactive_graph_std_color_model/component/
lightness.rs

1use crate::NAMESPACE_COLOR;
2use reactive_graph_graph::component_model;
3use reactive_graph_graph::component_ty;
4use reactive_graph_graph::properties;
5
6properties!(LightnessProperties, (LIGHTNESS, "lightness", 0.0));
7
8component_ty!(COMPONENT_LIGHTNESS, NAMESPACE_COLOR, COMPONENT_NAME_LIGHTNESS, "lightness");
9
10component_model!(
11    Lightness,
12    data lightness f64,
13);