Function zng_wgt_scroll::zoom_origin
source ยท pub fn zoom_origin(
child: impl UiNode,
origin: impl IntoVar<Point>,
) -> impl UiNode
Expand description
P
Center point of zoom scaling done using mouse scroll wheel and touch gesture.
This property sets both zoom_wheel_origin
and zoom_touch_origin
to the same point.