語言

Canvas.DrawMesh(Mesh, BlendMode, Paint) 方法

定義

將網格物件繪製到螢幕上。

[Android.Runtime.Register("drawMesh", "(Landroid/graphics/Mesh;Landroid/graphics/BlendMode;Landroid/graphics/Paint;)V", "GetDrawMesh_Landroid_graphics_Mesh_Landroid_graphics_BlendMode_Landroid_graphics_Paint_Handler", ApiSince=34)]
public virtual void DrawMesh(Android.Graphics.Mesh mesh, Android.Graphics.BlendMode? blendMode, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawMesh", "(Landroid/graphics/Mesh;Landroid/graphics/BlendMode;Landroid/graphics/Paint;)V", "GetDrawMesh_Landroid_graphics_Mesh_Landroid_graphics_BlendMode_Landroid_graphics_Paint_Handler", ApiSince=34)>]
abstract member DrawMesh : Android.Graphics.Mesh * Android.Graphics.BlendMode * Android.Graphics.Paint -> unit
override this.DrawMesh : Android.Graphics.Mesh * Android.Graphics.BlendMode * Android.Graphics.Paint -> unit

參數

mesh
Mesh

非空網格物件要畫到螢幕上。

blendMode
BlendMode

混合模式,使用網格基元作為目標,並以塗裝顏色或著色器作為來源;當 null時預設為 Modulate 。

paint
Paint

非零繪色提供色彩、著色器和混合模式。

屬性

備註

抗鋸齒不支援,因此 AntiAlias 被忽略。

的 android.graphics.Canvas.drawMesh(android.graphics.Mesh, android.graphics.BlendMode, android.graphics.Paint)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於