语言

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

要绘制到屏幕的非 null 网格对象。

blendMode
BlendMode

将网格基元用作目标的混合模式,将油漆颜色或着色器用作源;默认为 Modulate 何时 null。

paint
Paint

提供颜色、着色器和混合模式的非 null 油漆。

特性

注解

不支持抗锯齿,因此 AntiAlias 将被忽略。

Java文档android.graphics.Canvas.drawMesh(android.graphics.Mesh, android.graphics.BlendMode, android.graphics.Paint)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于