Bagikan melalui


CompositionEasingFunction.CreateBounceEasingFunction Metode

Definisi

Membuat instans BounceEasingFunction.

public:
 static BounceEasingFunction ^ CreateBounceEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, int bounces, float bounciness);
 static BounceEasingFunction CreateBounceEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, int const& bounces, float const& bounciness);
public static BounceEasingFunction CreateBounceEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, int bounces, float bounciness);
function createBounceEasingFunction(owner, mode, bounces, bounciness)
Public Shared Function CreateBounceEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, bounces As Integer, bounciness As Single) As BounceEasingFunction

Parameter

owner
Compositor

Compositor digunakan untuk membuat fungsi pelingkaan.

mode
CompositionEasingFunctionMode

Salah satu nilai enumerasi yang menentukan bagaimana animasi menginterpolasi.

bounces
Int32

int

Jumlah pantulan. Nilai harus lebih besar atau sama dengan nol.

bounciness
Single

float

Nilai yang menentukan seberapa pantulan animasi pantulan. Nilai ini harus positif.

Mengembalikan

Mengembalikan objek BounceEasingFunction yang dibuat.

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 2104 (diperkenalkan dalam 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v12.0)

Berlaku untuk