View.OffsetTopAndBottom(Int32) 方法

定義

依指定的圖元數來位移此檢視的垂直位置。

[Android.Runtime.Register("offsetTopAndBottom", "(I)V", "GetOffsetTopAndBottom_IHandler")]
public virtual void OffsetTopAndBottom (int offset);
[<Android.Runtime.Register("offsetTopAndBottom", "(I)V", "GetOffsetTopAndBottom_IHandler")>]
abstract member OffsetTopAndBottom : int -> unit
override this.OffsetTopAndBottom : int -> unit

參數

offset
Int32

要位移檢視的圖元數目

屬性

備註

依指定的圖元數來位移此檢視的垂直位置。

android.view.View.offsetTopAndBottom(int) JAVA 檔。

此頁面的部分是根據 原始碼專案所建立和共用的工作進行修改,並根據中所述的詞彙使用。

適用於