zng::layout

Function scale_xy

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

P Scale X and Y transform.

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