次の方法で共有


RenderNode.OffsetLeftAndRight(Int32) Method

Definition

Offsets the left and right positions for the RenderNode

[Android.Runtime.Register("offsetLeftAndRight", "(I)Z", "", ApiSince=29)]
public bool OffsetLeftAndRight (int offset);
[<Android.Runtime.Register("offsetLeftAndRight", "(I)Z", "", ApiSince=29)>]
member this.OffsetLeftAndRight : 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 left and right positions for the RenderNode

Java documentation for android.graphics.RenderNode.offsetLeftAndRight(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