RenderNode.OffsetTopAndBottom(Int32) 方法

定義

偏移 RenderNode 的頂部與底部值

[Android.Runtime.Register("offsetTopAndBottom", "(I)Z", "", ApiSince=29)]
public bool OffsetTopAndBottom(int offset);
[<Android.Runtime.Register("offsetTopAndBottom", "(I)Z", "", ApiSince=29)>]
member this.OffsetTopAndBottom : int -> bool

參數

offset
Int32

左右位置以像素為單位的偏移量

傳回

若值改變,則為真;若新值與先前相同,則為假。

屬性

備註

偏移 RenderNode 的頂部與底部值

Java 文件 android.graphics.RenderNode.offsetTopAndBottom(int)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於