Share via


Icon.CreateWithBitmap(Bitmap) Method

Definition

Create an Icon pointing to a bitmap in memory.

[Android.Runtime.Register("createWithBitmap", "(Landroid/graphics/Bitmap;)Landroid/graphics/drawable/Icon;", "", ApiSince=23)]
public static Android.Graphics.Drawables.Icon CreateWithBitmap (Android.Graphics.Bitmap? bits);
[<Android.Runtime.Register("createWithBitmap", "(Landroid/graphics/Bitmap;)Landroid/graphics/drawable/Icon;", "", ApiSince=23)>]
static member CreateWithBitmap : Android.Graphics.Bitmap -> Android.Graphics.Drawables.Icon

Parameters

bits
Bitmap

A valid android.graphics.Bitmap object

Returns

Attributes

Remarks

Create an Icon pointing to a bitmap in memory.

Java documentation for android.graphics.drawable.Icon.createWithBitmap(android.graphics.Bitmap).

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