KeyTime.FromPercent(Double) メソッド

定義

KeyTime プロパティを指定したパラメーターの値に初期化して、新しいKeyTimeType インスタンスを作成します。

public:
 static System::Windows::Media::Animation::KeyTime FromPercent(double percent);
public static System.Windows.Media.Animation.KeyTime FromPercent(double percent);
static member FromPercent : double -> System.Windows.Media.Animation.KeyTime
Public Shared Function FromPercent (percent As Double) As KeyTime

パラメーター

percent
Double

新しい KeyTimeの値。

返品

KeyTimeの値に初期化された新しいpercent インスタンス。

例外

percent が 0.0 より小さいか、1.0 より大きい。

注釈

percent パラメーターは、0.0 ~ 1.0 の範囲の double として渡されます。

適用対象