Gesture.ToBitmap 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ToBitmap(Int32, Int32, Int32, Color) |
建立帶有透明背景的手勢點陣圖。 |
| ToBitmap(Int32, Int32, Edge, Int32, Color) |
建立帶有透明背景的手勢點陣圖。 |
ToBitmap(Int32, Int32, Int32, Color)
建立帶有透明背景的手勢點陣圖。
[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
參數
- width
- Int32
寬度
- height
- Int32
height
- inset
- Int32
內嵌
- color
- Color
色彩
傳回
點陣圖
- 屬性
備註
建立帶有透明背景的手勢點陣圖。
Java 文件 android.gesture.Gesture.toBitmap(int, int, int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
ToBitmap(Int32, Int32, Edge, Int32, Color)
建立帶有透明背景的手勢點陣圖。
[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
參數
- width
- Int32
目標點陣圖的寬度
- height
- Int32
目標位陣圖的高度
- edge
- Edge
邊緣
- numSample
- Int32
數字樣本
- color
- Color
色彩
傳回
點陣圖
- 屬性
備註
建立帶有透明背景的手勢點陣圖。
Java 文件 android.gesture.Gesture.toBitmap(int, int, int, int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。