Method With
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
With(float?, EasingMode?, EasingMode?, float?)
Builds a new StyleTransitionConfig that overrides duration / easing on top of the preset. Class-name definitions are copied; only the specified parameters are overridden.
public StyleTransitionConfig With(float? durationSec = null, EasingMode? easing = null, EasingMode? exitEasing = null, float? delaySec = null)
Parameters
durationSecfloat?Duration (seconds). null preserves the original value.
easingEasingMode?Enter easing. null preserves the original value.
exitEasingEasingMode?Exit easing. null preserves the original value.
delaySecfloat?