Udostępnij za pośrednictwem


RenderNode.SetRotationX(Single) Method

Definition

Sets the rotation value for the display list around the X axis.

[Android.Runtime.Register("setRotationX", "(F)Z", "", ApiSince=29)]
public bool SetRotationX (float rotationX);
[<Android.Runtime.Register("setRotationX", "(F)Z", "", ApiSince=29)>]
member this.SetRotationX : single -> bool

Parameters

rotationX
Single

The rotation value of the display list, in degrees

Returns

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

Attributes

Remarks

Sets the rotation value for the display list around the X axis.

Java documentation for android.graphics.RenderNode.setRotationX(float).

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