zng_wgt_transform

Function translate

source
pub fn translate(
    child: impl UiNode,
    x: impl IntoVar<Length>,
    y: impl IntoVar<Length>,
) -> impl UiNode
Expand description

P Translate transform.

This property is a shorthand way of setting transform to new_translate(x, y) using variable merging.