pub fn img_crop(child: impl IntoUiNode, crop: impl IntoVar<Rect>) -> UiNodeExpand description
P Sets a Rect that is a clip applied to all inner images before their layout.
Relative values are calculated from the image pixel size, the img_scale_density is only considered after.
Note that more complex clipping can be applied after to the full widget, this property exists primarily to
render selections of a texture atlas.
By default no cropping is done.