View.RotationX Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The degrees that the view is rotated around the horizontal axis through the pivot point. -or- Sets the degrees that the view is rotated around the horizontal axis through the pivot point.
public virtual float RotationX { [Android.Runtime.Register("getRotationX", "()F", "GetGetRotationXHandler")] get; [Android.Runtime.Register("setRotationX", "(F)V", "GetSetRotationX_FHandler")] set; }
[<get: Android.Runtime.Register("getRotationX", "()F", "GetGetRotationXHandler")>]
[<set: Android.Runtime.Register("setRotationX", "(F)V", "GetSetRotationX_FHandler")>]
member this.RotationX : single with get, set
Property Value
The degrees of X rotation.
- Attributes
Remarks
Property getter documentation:
The degrees that the view is rotated around the horizontal axis through the pivot point.
Java documentation for android.view.View.getRotationX()
.
Property setter documentation:
Sets the degrees that the view is rotated around the horizontal axis through the pivot point. Increasing values result in clockwise rotation from the viewpoint of looking down the x axis.
When rotating large views, it is recommended to adjust the camera distance accordingly. Refer to #setCameraDistance(float)
for more information.
Java documentation for android.view.View.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.