reactive_graph_std_color_model/component/
hs.rs

1use crate::NAMESPACE_COLOR;
2use reactive_graph_graph::component_model;
3use reactive_graph_graph::component_ty;
4use reactive_graph_graph::properties;
5
6properties!(HueSaturationProperties, (HUE, "hue", 0.0), (SATURATION, "saturation", 0.0));
7
8component_ty!(COMPONENT_HS, NAMESPACE_COLOR, COMPONENT_NAME_HS, "hs");
9
10component_model!(
11    HueSaturationComponent,
12    data hue f64,
13    data saturation f64,
14);