zng::layout

Function transform_origin

source
pub fn transform_origin(
    child: impl UiNode,
    origin: impl IntoVar<Point>,
) -> impl UiNode
Expand description

P Point relative to the widget inner bounds around which the transform is applied.

This property sets the TRANSFORM_ORIGIN_VAR context variable.