1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use crate::{RadialGradientNode, RenderNodeType};
define_render_node!(
RadialGradientNode,
ffi::GskRadialGradientNode,
RenderNodeType::RadialGradientNode
);
impl std::fmt::Debug for RadialGradientNode {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
f.debug_struct("RadialGradientNode")
.field("center", &self.center())
.field("color_stops", &self.color_stops())
.field("end", &self.end())
.field("hradius", &self.hradius())
.field("n_color_stops", &self.n_color_stops())
.field("start", &self.start())
.field("vradius", &self.vradius())
.finish()
}
}