Function zng::image::img_repeat
source ยท pub fn img_repeat(
child: impl UiNode,
repeat: impl IntoVar<ImageRepeat>,
) -> impl UiNode
Expand description
P
Sets the ImageRepeat
of all inner images.
Note that repeat
converts from bool
so you can set this property to img_repeat = true;
to
enable repeat in all inner images.
See also img_repeat_spacing
to control the space between repeated tiles.
This property sets the IMAGE_REPEAT_VAR
.