GradientDrawable.SetOrientation(GradientDrawable+Orientation) Método

Definición

Establece la orientación del degradado definido en este dibujable.

[Android.Runtime.Register("setOrientation", "(Landroid/graphics/drawable/GradientDrawable$Orientation;)V", "GetSetOrientation_Landroid_graphics_drawable_GradientDrawable_Orientation_Handler")]
public virtual void SetOrientation(Android.Graphics.Drawables.GradientDrawable.Orientation? orientation);
[<Android.Runtime.Register("setOrientation", "(Landroid/graphics/drawable/GradientDrawable$Orientation;)V", "GetSetOrientation_Landroid_graphics_drawable_GradientDrawable_Orientation_Handler")>]
abstract member SetOrientation : Android.Graphics.Drawables.GradientDrawable.Orientation -> unit
override this.SetOrientation : Android.Graphics.Drawables.GradientDrawable.Orientation -> unit

Parámetros

orientation
GradientDrawable.Orientation

orientación deseada (ángulo) del degradado

Atributos

Comentarios

Java documentación para android.graphics.drawable.GradientDrawable.setOrientation(android.graphics.drawable.Orientation).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a