TryInterpolate Method
Attempts to interpolate between two transform operations.
Definition
Namespace: Avalonia.Media.Transformation
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static bool TryInterpolate(
TransformOperation? from,
TransformOperation? to,
double progress,
ref TransformOperation result
)
Public Shared Function TryInterpolate (
from As TransformOperation?,
to As TransformOperation?,
progress As Double,
ByRef result As TransformOperation
) As Boolean
static member TryInterpolate :
from : Nullable<TransformOperation> *
to : Nullable<TransformOperation> *
progress : float *
result : TransformOperation byref -> bool
Parameters
- Nullable(TransformOperation)
- Source operation.
- Nullable(TransformOperation)
- Target operation.
- Double
- Interpolation progress.
- TransformOperation
- Interpolation result that will be filled in when operation was successful.
Return Value
BooleanRemarks
Based upon https://www.w3.org/TR/css-transforms-1/#interpolation-of-transform-functions.
See Also
Reference
TransformOperation Structure
Avalonia.Media.Transformation Namespace