GradientDrawable Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| GradientDrawable() |
Crea un nuovo oggetto GradientDrawable a tema in base allo stato costante specificato. |
| GradientDrawable(GradientDrawable+Orientation, Int32[]) |
Crea un nuovo oggetto GradientDrawable a tema in base allo stato costante specificato. |
| GradientDrawable(IntPtr, JniHandleOwnership) |
Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime. |
GradientDrawable()
Crea un nuovo oggetto GradientDrawable a tema in base allo stato costante specificato.
[Android.Runtime.Register(".ctor", "()V", "")]
public GradientDrawable();
- Attributi
Commenti
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.
Si applica a
GradientDrawable(GradientDrawable+Orientation, Int32[])
Crea un nuovo oggetto GradientDrawable a tema in base allo stato costante specificato.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V", "")]
public GradientDrawable(Android.Graphics.Drawables.GradientDrawable.Orientation? orientation, int[]? colors);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V", "")>]
new Android.Graphics.Drawables.GradientDrawable : Android.Graphics.Drawables.GradientDrawable.Orientation * int[] -> Android.Graphics.Drawables.GradientDrawable
Parametri
- orientation
- GradientDrawable.Orientation
- colors
- Int32[]
- Attributi
Commenti
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.
Si applica a
GradientDrawable(IntPtr, JniHandleOwnership)
Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime.
protected GradientDrawable(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Drawables.GradientDrawable : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Drawables.GradientDrawable
Parametri
- javaReference
-
IntPtr
nativeint
Oggetto IntPtrcontenente un riferimento all'oggetto JNI (Native Interface) Java.
- transfer
- JniHandleOwnership
Oggetto JniHandleOwnershipche indica come gestire javaReference
Commenti
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.