Aracılığıyla paylaş


GradientDrawable.GetOrientation Method

Definition

Returns the orientation of the gradient defined in this drawable.

[Android.Runtime.Register("getOrientation", "()Landroid/graphics/drawable/GradientDrawable$Orientation;", "GetGetOrientationHandler")]
public virtual Android.Graphics.Drawables.GradientDrawable.Orientation? GetOrientation ();
[<Android.Runtime.Register("getOrientation", "()Landroid/graphics/drawable/GradientDrawable$Orientation;", "GetGetOrientationHandler")>]
abstract member GetOrientation : unit -> Android.Graphics.Drawables.GradientDrawable.Orientation
override this.GetOrientation : unit -> Android.Graphics.Drawables.GradientDrawable.Orientation

Returns

the orientation of the gradient defined in this drawable

Attributes

Remarks

Java documentation for android.graphics.drawable.GradientDrawable.getOrientation().

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