WallpaperColors.FromDrawable(Drawable) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Constructions WallpaperColors à partir d’un dessinable.
[Android.Runtime.Register("fromDrawable", "(Landroid/graphics/drawable/Drawable;)Landroid/app/WallpaperColors;", "", ApiSince=27)]
public static Android.App.WallpaperColors? FromDrawable(Android.Graphics.Drawables.Drawable? drawable);
[<Android.Runtime.Register("fromDrawable", "(Landroid/graphics/drawable/Drawable;)Landroid/app/WallpaperColors;", "", ApiSince=27)>]
static member FromDrawable : Android.Graphics.Drawables.Drawable -> Android.App.WallpaperColors
Paramètres
- drawable
- Drawable
Source à partir de laquelle extraire.
Retours
- Attributs
Remarques
Construit wallpaperColors à partir d’un dessinable. Les couleurs principales seront extraites du dessinable.
Référence Android pour android.app.WallpaperColors.fromDrawable.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.