Aracılığıyla paylaş


Gesture.ToBitmap Method

Definition

Overloads

ToBitmap(Int32, Int32, Int32, Color)

Creates a bitmap of the gesture with a transparent background.

ToBitmap(Int32, Int32, Edge, Int32, Color)

Creates a bitmap of the gesture with a transparent background.

ToBitmap(Int32, Int32, Int32, Color)

Creates a bitmap of the gesture with a transparent background.

[Android.Runtime.Register("toBitmap", "(IIII)Landroid/graphics/Bitmap;", "GetToBitmap_IIIIHandler")]
public virtual Android.Graphics.Bitmap? ToBitmap (int width, int height, int inset, Android.Graphics.Color color);
[<Android.Runtime.Register("toBitmap", "(IIII)Landroid/graphics/Bitmap;", "GetToBitmap_IIIIHandler")>]
abstract member ToBitmap : int * int * int * Android.Graphics.Color -> Android.Graphics.Bitmap
override this.ToBitmap : int * int * int * Android.Graphics.Color -> Android.Graphics.Bitmap

Parameters

width
Int32

width

height
Int32

height

inset
Int32

inset

color
Color

color

Returns

the bitmap

Attributes

Remarks

Creates a bitmap of the gesture with a transparent background.

Java documentation for android.gesture.Gesture.toBitmap(int, int, int, int).

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

ToBitmap(Int32, Int32, Edge, Int32, Color)

Creates a bitmap of the gesture with a transparent background.

[Android.Runtime.Register("toBitmap", "(IIIII)Landroid/graphics/Bitmap;", "GetToBitmap_IIIIIHandler")]
public virtual Android.Graphics.Bitmap? ToBitmap (int width, int height, Android.Views.Edge edge, int numSample, Android.Graphics.Color color);
[<Android.Runtime.Register("toBitmap", "(IIIII)Landroid/graphics/Bitmap;", "GetToBitmap_IIIIIHandler")>]
abstract member ToBitmap : int * int * Android.Views.Edge * int * Android.Graphics.Color -> Android.Graphics.Bitmap
override this.ToBitmap : int * int * Android.Views.Edge * int * Android.Graphics.Color -> Android.Graphics.Bitmap

Parameters

width
Int32

width of the target bitmap

height
Int32

height of the target bitmap

edge
Edge

the edge

numSample
Int32

numSample

color
Color

color

Returns

the bitmap

Attributes

Remarks

Creates a bitmap of the gesture with a transparent background.

Java documentation for android.gesture.Gesture.toBitmap(int, int, int, int, int).

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