WallpaperColors.FromBitmap(Bitmap) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
WallpaperColors从位图构造。
[Android.Runtime.Register("fromBitmap", "(Landroid/graphics/Bitmap;)Landroid/app/WallpaperColors;", "", ApiSince=27)]
public static Android.App.WallpaperColors? FromBitmap(Android.Graphics.Bitmap bitmap);
[<Android.Runtime.Register("fromBitmap", "(Landroid/graphics/Bitmap;)Landroid/app/WallpaperColors;", "", ApiSince=27)>]
static member FromBitmap : Android.Graphics.Bitmap -> Android.App.WallpaperColors
参数
- bitmap
- Bitmap
要从中提取位置的源。
返回
- 特性
注解
从位图构造 WallpaperColors。 主颜色将从位图中提取。
Android 参考。android.app.WallpaperColors.fromBitmap
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。