ui::TransitionTargetState¶
Header: winui/ui/Animation.hpp.
The opacity, scale and offset a transition or a navigation transition animates. They apply on top of the element's own opacity, scale, rotation and translation, and reset when the transition ends. The scale is about scale_origin, relative to the element's size.
opacity¶
Multiplied into the element's own opacity, 0..1.
translate¶
Offset in DIPs, applied after the scale.
scale_x¶
Horizontal scale factor.
scale_y¶
Vertical scale factor.
scale_origin¶
Scale origin as a fraction of the element's size.
is_identity¶
True at rest: opaque, unmoved and unscaled (scale_origin is irrelevant then).