Share via


RenderNode.OffsetTopAndBottom(Int32) Method

Definition

Offsets the top and bottom values for the 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

Parameters

offset
Int32

The amount that the left and right positions are offset in pixels

Returns

True if the value changed, false if the new value was the same as the previous value.

Attributes

Remarks

Offsets the top and bottom values for the RenderNode

Java documentation for android.graphics.RenderNode.offsetTopAndBottom(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to