共用方式為


Easing.Implicit(Func<Double,Double> to Easing) Operator

Definition

Converts a function into an Easing.

public:
 static operator Microsoft::Maui::Easing ^(Func<double, double> ^ func);
public static implicit operator Microsoft.Maui.Easing (Func<double,double> func);
static member op_Implicit : Func<double, double> -> Microsoft.Maui.Easing
Public Shared Widening Operator CType (func As Func(Of Double, Double)) As Easing

Parameters

func
Func<Double,Double>

An easing function.

Returns

Remarks

An easing function should return a value of (or near) 0 at 0 and 1 (or near) for 1.

Applies to