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

左右位置偏移量(以像素为单位)

返回

如果值发生更改,则为 true;如果新值与前一个值相同,则为 false。

属性

注解

偏移 RenderNode 的顶部和底部值

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

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于