共用方式為


CompositionEasingFunction.CreateElasticEasingFunction 方法

定義

建立 ElasticEasingFunction的新實例。

public:
 static ElasticEasingFunction ^ CreateElasticEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, int oscillations, float springiness);
 static ElasticEasingFunction CreateElasticEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, int const& oscillations, float const& springiness);
public static ElasticEasingFunction CreateElasticEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, int oscillations, float springiness);
function createElasticEasingFunction(owner, mode, oscillations, springiness)
Public Shared Function CreateElasticEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, oscillations As Integer, springiness As Single) As ElasticEasingFunction

參數

owner
Compositor

用來建立 Easing 函式的撰寫器。

mode
CompositionEasingFunctionMode

值,指定動畫插補的方式。

oscillations
Int32

int

到達動畫目的期間,目標來回滑動的次數。

springiness
Single

float

彈簧的擷取。 彈簧 值越 小,彈簧越不穩定,彈性越快會隨著每次震動而降低強度。

傳回

建立的 ElasticEasingFunction 物件。

適用於

另請參閱