Table of Contents

Class ScaffoldTransitionMotion

Namespace
Nalu
Assembly
Nalu.Maui.Scaffold.dll

Motion of one page during a transition, declared as target-relative deltas: translation as a fraction of the page size, plus scale and opacity. The entering page animates FROM this state to natural; the behind page TO this state.

public sealed record ScaffoldTransitionMotion : IEquatable<ScaffoldTransitionMotion>
Inheritance
ScaffoldTransitionMotion
Implements
Inherited Members

Constructors

ScaffoldTransitionMotion(double, double, double, double)

Motion of one page during a transition, declared as target-relative deltas: translation as a fraction of the page size, plus scale and opacity. The entering page animates FROM this state to natural; the behind page TO this state.

public ScaffoldTransitionMotion(double FractionX = 0, double FractionY = 0, double Scale = 1, double Opacity = 1)

Parameters

FractionX double

Horizontal translation as a fraction of the page width (positive = right; physical, not RTL-mirrored).

FractionY double

Vertical translation as a fraction of the page height (positive = down).

Scale double

Uniform scale factor (1 = natural size).

Opacity double

Opacity (1 = fully opaque).

Properties

FractionX

Horizontal translation as a fraction of the page width (positive = right; physical, not RTL-mirrored).

public double FractionX { get; init; }

Property Value

double

FractionY

Vertical translation as a fraction of the page height (positive = down).

public double FractionY { get; init; }

Property Value

double

IsIdentity

Whether this motion leaves the page exactly in its natural state.

public bool IsIdentity { get; }

Property Value

bool

Opacity

Opacity (1 = fully opaque).

public double Opacity { get; init; }

Property Value

double

Scale

Uniform scale factor (1 = natural size).

public double Scale { get; init; }

Property Value

double