語言

FrameRateVelocityPoint(Single, Single) 建構函式

定義

建立一個包含指定幀率與速度的點。

[Android.Runtime.Register(".ctor", "(FF)V", "", ApiSince=37)]
public FrameRateVelocityPoint(float framePerSecond, float dpPerSecond);
[<Android.Runtime.Register(".ctor", "(FF)V", "", ApiSince=37)>]
new Android.Views.FrameRateVelocityPoint : single * single -> Android.Views.FrameRateVelocityPoint

參數

framePerSecond
Single

幀率成分,也就是每秒幀數。

dpPerSecond
Single

速度成分,以密度無關的像素每秒數計算。

屬性

備註

建構子會儲存兩個元件,但不會改變它們。 FramePerSecond 與 DpPerSecond 會回傳相應的儲存值。

適用於